lol

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

+5 -8
+5 -8
pkgs/development/compilers/qbe/default.nix
··· 1 1 { lib, stdenv 2 - , fetchgit 3 - , unstableGitUpdater 2 + , fetchzip 4 3 , callPackage 5 4 }: 6 5 7 6 stdenv.mkDerivation rec { 8 7 pname = "qbe"; 9 - version = "unstable-2022-04-11"; 8 + version = "1.0"; 10 9 11 - src = fetchgit { 12 - url = "git://c9x.me/qbe.git"; 13 - rev = "2caa26e388b1c904d2f12fb09f84df7e761d8331"; 14 - sha256 = "sha256-TNKHKX/PbrNIQJ+Q50KemfcigEBKe7gmJzTjB6ofYL8="; 10 + src = fetchzip { 11 + url = "https://c9x.me/compile/release/qbe-${version}.tar.xz"; 12 + sha256 = "sha256-Or6m/y5hb9SlSToBevjhaSbk5Lo5BasbqeJmKd1QpGM="; 15 13 }; 16 14 17 15 makeFlags = [ "PREFIX=$(out)" ]; ··· 20 18 21 19 passthru = { 22 20 tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix {}; 23 - updateScript = unstableGitUpdater { }; 24 21 }; 25 22 26 23 meta = with lib; {