Merge pull request #122875 from polygon/mail-parser-patch-fix
mail-parser: Remove invalid requirements.txt patch
This commit is contained in:
commit
091f7e0036
@ -14,16 +14,6 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
LC_ALL = "en_US.utf-8";
|
LC_ALL = "en_US.utf-8";
|
||||||
|
|
||||||
# remove version bounds
|
|
||||||
prePatch = ''
|
|
||||||
sed -i -e 's/==.*//g' requirements.txt
|
|
||||||
''
|
|
||||||
# ipaddress is part of the standard library of Python 3.3+
|
|
||||||
+ lib.optionalString (!pythonOlder "3.3") ''
|
|
||||||
substituteInPlace requirements.txt \
|
|
||||||
--replace "ipaddress" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ glibcLocales ];
|
nativeBuildInputs = [ glibcLocales ];
|
||||||
propagatedBuildInputs = [ simplejson six ] ++ lib.optional (pythonOlder "3.3") ipaddress;
|
propagatedBuildInputs = [ simplejson six ] ++ lib.optional (pythonOlder "3.3") ipaddress;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user