mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
qbe: 1.1 -> 1.2 (#289276)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
2b7b1ddc3a
commit
80dd44759c
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user