mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
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
|
||||
, setuptoolsDarcs
|
||||
, pyutil
|
||||
, argparse
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
@ -18,7 +17,12 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
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; {
|
||||
homepage = http://allmydata.org/trac/zfec;
|
||||
|
Loading…
Reference in New Issue
Block a user