python3Packages.rsa: remove superfluous pythonOlder (#480009)
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
poetry-core,
|
||||
pyasn1,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -20,10 +19,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-PwaRe+ICy0UoguXSMSh3PFl5R+YAhJwNdNN9isadlJY=";
|
||||
};
|
||||
|
||||
preConfigure = lib.optionalString (pythonOlder "3.7") ''
|
||||
substituteInPlace setup.py --replace "open('README.md')" "open('README.md',encoding='utf-8')"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [ pyasn1 ];
|
||||
|
||||
Reference in New Issue
Block a user