mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 16:40:18 +02:00
Merge pull request #179018 from fgaz/qbe/1.0
qbe: unstable-2022-04-11 -> 1.0
This commit is contained in:
commit
efe337790d
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue