tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
fetchFromGitorious: add helper
Edward Tjörnhammar
11 years ago
3934bef1
5cd15f8c
+6
1 changed file
expand all
collapse all
unified
split
pkgs
top-level
all-packages.nix
+6
pkgs/top-level/all-packages.nix
···
373
inherit sha256;
374
};
375
0
0
0
0
0
0
376
resolveMirrorURLs = {url}: fetchurl {
377
showURLs = true;
378
inherit url;
···
373
inherit sha256;
374
};
375
376
+
fetchFromGitorious = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
377
+
inherit name;
378
+
url = "https://gitorious.org/${owner}/${repo}/archive/${rev}.tar.gz";
379
+
inherit sha256;
380
+
};
381
+
382
resolveMirrorURLs = {url}: fetchurl {
383
showURLs = true;
384
inherit url;