Merge pull request #179018 from fgaz/qbe/1.0

qbe: unstable-2022-04-11 -> 1.0
This commit is contained in:
Sandro 2022-06-29 22:39:57 +02:00 committed by GitHub
commit efe337790d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,15 @@
{ lib, stdenv
, fetchgit
, unstableGitUpdater
, fetchzip
, callPackage
}:
stdenv.mkDerivation rec {
pname = "qbe";
version = "unstable-2022-04-11";
version = "1.0";
src = fetchgit {
url = "git://c9x.me/qbe.git";
rev = "2caa26e388b1c904d2f12fb09f84df7e761d8331";
sha256 = "sha256-TNKHKX/PbrNIQJ+Q50KemfcigEBKe7gmJzTjB6ofYL8=";
src = fetchzip {
url = "https://c9x.me/compile/release/qbe-${version}.tar.xz";
sha256 = "sha256-Or6m/y5hb9SlSToBevjhaSbk5Lo5BasbqeJmKd1QpGM=";
};
makeFlags = [ "PREFIX=$(out)" ];
@ -20,7 +18,6 @@ stdenv.mkDerivation rec {
passthru = {
tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix {};
updateScript = unstableGitUpdater { };
};
meta = with lib; {