mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
bend: init at 0.2.9
This commit is contained in:
parent
bd4c5f46b7
commit
554314fea5
43
pkgs/by-name/be/bend/package.nix
Normal file
43
pkgs/by-name/be/bend/package.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
rustPlatform,
|
||||
fetchCrate,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
makeWrapper,
|
||||
hvm,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "Bend";
|
||||
version = "0.2.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "HigherOrderCO";
|
||||
repo = "Bend";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-MEfB2SBJN7uEwfZGoEL7DQXsr1fccdZyGyzHtNv9wow=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-+i+Y3MgCBVN3REmPwAjm2SiF9FJ0i05czmPKB8JtAFM=";
|
||||
|
||||
RUSTC_BOOTSTRAP = true;
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user