tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
qbe: unstable-2022-04-11 -> 1.0
Francesco Gazzetta
3 years ago
7fa47997
0afc3c23
+5
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
qbe
default.nix
+5
-8
pkgs/development/compilers/qbe/default.nix
···
1
1
{ lib, stdenv
2
2
-
, fetchgit
3
3
-
, unstableGitUpdater
2
2
+
, fetchzip
4
3
, callPackage
5
4
}:
6
5
7
6
stdenv.mkDerivation rec {
8
7
pname = "qbe";
9
9
-
version = "unstable-2022-04-11";
8
8
+
version = "1.0";
10
9
11
11
-
src = fetchgit {
12
12
-
url = "git://c9x.me/qbe.git";
13
13
-
rev = "2caa26e388b1c904d2f12fb09f84df7e761d8331";
14
14
-
sha256 = "sha256-TNKHKX/PbrNIQJ+Q50KemfcigEBKe7gmJzTjB6ofYL8=";
10
10
+
src = fetchzip {
11
11
+
url = "https://c9x.me/compile/release/qbe-${version}.tar.xz";
12
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
23
-
updateScript = unstableGitUpdater { };
24
21
};
25
22
26
23
meta = with lib; {