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.
This commit is contained in:
parent
6a942aec5b
commit
2c9de98dba
@ -3,7 +3,6 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptoolsDarcs
|
, setuptoolsDarcs
|
||||||
, pyutil
|
, pyutil
|
||||||
, argparse
|
|
||||||
, isPyPy
|
, isPyPy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -18,7 +17,12 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ setuptoolsDarcs ];
|
buildInputs = [ setuptoolsDarcs ];
|
||||||
propagatedBuildInputs = [ pyutil argparse ];
|
propagatedBuildInputs = [ pyutil ];
|
||||||
|
|
||||||
|
# argparse is in the stdlib but zfec doesn't know that.
|
||||||
|
postPatch = ''
|
||||||
|
sed -i -e '/argparse/d' setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://allmydata.org/trac/zfec;
|
homepage = http://allmydata.org/trac/zfec;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user