amber-lang: 0.3.3-alpha -> 0.3.5-alpha

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2024-09-08 06:40:54 +02:00
parent fcb54ddcc9
commit b471c7e911
No known key found for this signature in database
GPG Key ID: 26C542FD97F965CE

View File

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "amber-lang";
version = "0.3.3-alpha";
version = "0.3.5-alpha";
src = fetchFromGitHub {
owner = "Ph0enixKM";
repo = "Amber";
owner = "amber-lang";
repo = "amber";
rev = version;
hash = "sha256-Al1zTwQufuVGSlttf02s5uI3cyCNDShhzMT3l9Ctv3Y=";
hash = "sha256-wf0JNWNliDGNvlbWoatPqDKmVaBzHeCKOvJWuE9PnpQ=";
};
cargoHash = "sha256-HbkIkCVy2YI+nP5t01frXBhlp/rCsB6DwLL53AHJ4vE=";
cargoHash = "sha256-6T4WcQkCMR8W67w0uhhN8W0FlLsrTUMa3/xRXDtW4Es=";
preConfigure = ''
substituteInPlace src/compiler.rs \
@ -36,6 +36,11 @@ rustPlatform.buildRustPackage rec {
util-linux
];
checkFlags = [
"--skip=tests::extra::download"
"--skip=tests::formatter::all_exist"
];
postInstall = ''
wrapProgram "$out/bin/amber" --prefix PATH : "${lib.makeBinPath [ bc ]}"
'';