qbe: unstable-2022-04-11 -> 1.0

This commit is contained in:
Francesco Gazzetta 2022-06-25 15:55:45 +02:00
parent 0afc3c233b
commit 7fa4799766

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; {