From 7fa4799766fd7db58ea48470fabf71be534c694f Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Sat, 25 Jun 2022 15:55:45 +0200 Subject: [PATCH] qbe: unstable-2022-04-11 -> 1.0 --- pkgs/development/compilers/qbe/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/development/compilers/qbe/default.nix b/pkgs/development/compilers/qbe/default.nix index 2615a940668..c9464813d3f 100644 --- a/pkgs/development/compilers/qbe/default.nix +++ b/pkgs/development/compilers/qbe/default.nix @@ -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; {