Merge pull request #312972 from k3yss/os/keys/bend-lang

bend: init at 0.2.9
This commit is contained in:
Raghav Sood 2024-05-20 23:50:46 +08:00 committed by GitHub
commit 30022e14ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 49 additions and 0 deletions

View File

@ -10350,6 +10350,12 @@
github = "k3a";
githubId = 966992;
};
k3yss = {
email = "rsi.dev17@gmail.com";
name = "Rishi Kumar";
github = "k3yss";
githubId = 96657880;
};
k900 = {
name = "Ilya K.";
email = "me@0upti.me";

View 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;
};
}