qbe: 1.1 -> 1.2 (#289276)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Coutinho de Souza 2024-02-20 12:33:13 +00:00 committed by GitHub
parent 2b7b1ddc3a
commit 80dd44759c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,15 +1,15 @@
{ lib, stdenv
{ lib
, stdenv
, fetchzip
, callPackage
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "qbe";
version = "1.1";
version = "1.2";
src = fetchzip {
url = "https://c9x.me/compile/release/qbe-${version}.tar.xz";
sha256 = "sha256-yFZ3cpp7eLjf7ythKFTY1YEJYyfeg2en4/D8+9oM1B4=";
url = "https://c9x.me/compile/release/qbe-${finalAttrs.version}.tar.xz";
hash = "sha256-UgtJnZF/YtD54OBy9HzGRAEHx5tC9Wo2YcUidGwrv+s=";
};
makeFlags = [ "PREFIX=$(out)" ];
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru = {
tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix {};
tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix { };
};
meta = with lib; {
@ -26,5 +26,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
license = licenses.mit;
platforms = platforms.all;
mainProgram = "qbe";
};
}
})