blob: d904cd8528749f8b8fc1afaadc8b473200e10e09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
rustPlatform,
fetchFromGitHub,
lib,
makeWrapper,
hvm,
}:
rustPlatform.buildRustPackage rec {
pname = "Bend";
version = "0.2.22";
src = fetchFromGitHub {
owner = "HigherOrderCO";
repo = "Bend";
rev = "refs/tags/${version}";
hash = "sha256-5qcj3KfgcB5tbVSJUSOVQDAhEpPE8SFoT0g9syHbFCA=";
};
cargoHash = "sha256-gSAIidMEYJDZHgIWNgYJVqyhpD7M+CMCD+1mEXGztIk=";
nativeBuildInputs = [
hvm
makeWrapper
];
postInstall = ''
wrapProgram $out/bin/bend \
--prefix PATH : ${lib.makeBinPath [ hvm ]}
'';
meta = {
description = "Bend is a massively parallel, high-level programming language";
homepage = "https://higherorderco.com/";
license = lib.licenses.asl20;
mainProgram = "bend";
maintainers = with lib.maintainers; [ k3yss ];
platforms = lib.platforms.unix;
};
}
|