Skip to content

Commit

Permalink
nix-prefetch-zip: Remove
Browse files Browse the repository at this point in the history
This script is not needed anymore since "nix-prefetch-url --unpack
<url>" and "nix-prefetch-url -A foo.src" (where "foo.src" is a
fetchzip / fetchFromGitHub call) work fine.
  • Loading branch information
edolstra committed Feb 16, 2017
1 parent 7943dc8 commit 97fc806
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 174 deletions.
171 changes: 0 additions & 171 deletions pkgs/build-support/fetchzip/nix-prefetch-zip

This file was deleted.

Expand Up @@ -37,12 +37,11 @@ in rec {
nix-prefetch-git = mkPrefetchScript "git" ../../../build-support/fetchgit/nix-prefetch-git [git coreutils];
nix-prefetch-hg = mkPrefetchScript "hg" ../../../build-support/fetchhg/nix-prefetch-hg [mercurial];
nix-prefetch-svn = mkPrefetchScript "svn" ../../../build-support/fetchsvn/nix-prefetch-svn [subversion.out];
nix-prefetch-zip = mkPrefetchScript "zip" ../../../build-support/fetchzip/nix-prefetch-zip [unzip curl.bin];

nix-prefetch-scripts = buildEnv {
name = "nix-prefetch-scripts";

paths = [ nix-prefetch-bzr nix-prefetch-cvs nix-prefetch-git nix-prefetch-hg nix-prefetch-svn nix-prefetch-zip ];
paths = [ nix-prefetch-bzr nix-prefetch-cvs nix-prefetch-git nix-prefetch-hg nix-prefetch-svn ];

meta = with stdenv.lib; {
description = "Collection of all the nix-prefetch-* scripts which may be used to obtain source hashes";
Expand Down
1 change: 0 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -17655,7 +17655,6 @@ with pkgs;
nix-prefetch-git
nix-prefetch-hg
nix-prefetch-svn
nix-prefetch-zip
nix-prefetch-scripts;

nix-template-rpm = callPackage ../build-support/templaterpm { inherit (pythonPackages) python toposort; };
Expand Down

0 comments on commit 97fc806

Please sign in to comment.