fetchFromGitorious: add helper

+6
+6
pkgs/top-level/all-packages.nix
··· 373 373 inherit sha256; 374 374 }; 375 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 + 376 382 resolveMirrorURLs = {url}: fetchurl { 377 383 showURLs = true; 378 384 inherit url;