pythonPackages.zfec: patch out argparse dependency
Since `argparse` stopped doing anything a while ago, we'll just patch it
out of setup.py and nobody will notice.
commit2c9de98dbaddc25520296ad22c55eae961cb21a3
authorCorbin <cds@corbinsimpson.com>
dateMon 7 Jan 2019, 17:12 (8 years ago)
parent6a942ae
pkgs/development/python-modules/zfec/default.nix+6−2
@@ -3,7 +3,6 @@
33, fetchPypi
44, setuptoolsDarcs
55, pyutil
6−, argparse
76, isPyPy
87}:
98
@@ -18,7 +17,12 @@ buildPythonPackage rec {
1817 };
1918
2019 buildInputs = [ setuptoolsDarcs ];
21− propagatedBuildInputs = [ pyutil argparse ];
20+ propagatedBuildInputs = [ pyutil ];
21+
22+ # argparse is in the stdlib but zfec doesn't know that.
23+ postPatch = ''
24+ sed -i -e '/argparse/d' setup.py
25+ '';
2226
2327 meta = with stdenv.lib; {
2428 homepage = http://allmydata.org/trac/zfec;