about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-06-18 10:27:13 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-06-18 10:27:13 +0100
commit3a15cdea6fd4dace6c98b2e3b20f52f435b872e9 (patch)
tree75c9c669e31c7d087f8fbdcafd892e11d6ab47e2 /pkgs
parent4c4b1023399cdb111d528325cc757e3ff2cfce8e (diff)
amazon-glacier-cmd-interface: fix missing argparse dep
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/backup/amazon-glacier-cmd-interface/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/backup/amazon-glacier-cmd-interface/default.nix b/pkgs/tools/backup/amazon-glacier-cmd-interface/default.nix
index d5f47f9a6c0d7..472b4a6508f20 100644
--- a/pkgs/tools/backup/amazon-glacier-cmd-interface/default.nix
+++ b/pkgs/tools/backup/amazon-glacier-cmd-interface/default.nix
@@ -11,8 +11,12 @@ python2Packages.buildPythonApplication rec {
     sha256 = "1k5z8kda9v6klr4536pf5qbq9zklxvyysv7nc48gllschl09jywc";
   };
 
+  # argparse is part of the standardlib
+  prePatch = ''
+    substituteInPlace setup.py --replace "'argparse'," ""
+  '';
+
   propagatedBuildInputs = with python2Packages; [
-    argparse
     boto
     dateutil
     prettytable