qbe: unstable-2022-04-11 -> 1.0
This commit is contained in:
parent
0afc3c233b
commit
7fa4799766
|
@ -1,17 +1,15 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchgit
|
, fetchzip
|
||||||
, unstableGitUpdater
|
|
||||||
, callPackage
|
, callPackage
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "qbe";
|
pname = "qbe";
|
||||||
version = "unstable-2022-04-11";
|
version = "1.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchzip {
|
||||||
url = "git://c9x.me/qbe.git";
|
url = "https://c9x.me/compile/release/qbe-${version}.tar.xz";
|
||||||
rev = "2caa26e388b1c904d2f12fb09f84df7e761d8331";
|
sha256 = "sha256-Or6m/y5hb9SlSToBevjhaSbk5Lo5BasbqeJmKd1QpGM=";
|
||||||
sha256 = "sha256-TNKHKX/PbrNIQJ+Q50KemfcigEBKe7gmJzTjB6ofYL8=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
@ -20,7 +18,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
passthru = {
|
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 {};
|
||||||
updateScript = unstableGitUpdater { };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue