Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 826 B view raw
1{ 2 rustPlatform, 3 fetchFromGitHub, 4 lib, 5 makeWrapper, 6 hvm, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "Bend"; 11 version = "0.2.37"; 12 13 src = fetchFromGitHub { 14 owner = "HigherOrderCO"; 15 repo = "Bend"; 16 tag = version; 17 hash = "sha256-8uBEI9GKUETk8t6Oanb0OECe3MlJ486QnccOuhIxPuY="; 18 }; 19 20 cargoHash = "sha256-xac5Gb0hcamT3vymq6SKaMiuEn8NU9Bfhu+t/dcjhTE="; 21 22 nativeBuildInputs = [ 23 hvm 24 makeWrapper 25 ]; 26 27 postInstall = '' 28 wrapProgram $out/bin/bend \ 29 --prefix PATH : ${lib.makeBinPath [ hvm ]} 30 ''; 31 32 meta = { 33 description = "Massively parallel, high-level programming language"; 34 homepage = "https://higherorderco.com/"; 35 license = lib.licenses.asl20; 36 mainProgram = "bend"; 37 maintainers = with lib.maintainers; [ k3yss ]; 38 platforms = lib.platforms.unix; 39 }; 40}