diff options
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/qbe/default.nix | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/development/compilers/qbe/default.nix b/pkgs/development/compilers/qbe/default.nix index ee075ec040568..d9694c9b4bce6 100644 --- a/pkgs/development/compilers/qbe/default.nix +++ b/pkgs/development/compilers/qbe/default.nix @@ -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"; }; -} +}) |