python2.pkgs.jaraco_stream: keep at 2.0 for python 2
This commit is contained in:
parent
953f66dcc7
commit
b1d78acc03
2 changed files with 17 additions and 1 deletions
13
pkgs/development/python-modules/jaraco_stream/2.nix
Normal file
13
pkgs/development/python-modules/jaraco_stream/2.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ buildPythonPackage, fetchPypi, setuptools_scm, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jaraco.stream";
|
||||
version = "2.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "196synw4g76yagcflmavi7wakf5cdgsflmvbj7zs616gv03xbsf2";
|
||||
};
|
||||
doCheck = false;
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
}
|
|
@ -7041,7 +7041,10 @@ in {
|
|||
|
||||
jaraco_classes = callPackage ../development/python-modules/jaraco_classes { };
|
||||
|
||||
jaraco_stream = callPackage ../development/python-modules/jaraco_stream { };
|
||||
jaraco_stream = if pythonOlder "3.6"
|
||||
then callPackage ../development/python-modules/jaraco_stream/2.nix { }
|
||||
else
|
||||
callPackage ../development/python-modules/jaraco_stream { };
|
||||
|
||||
javaobj-py3 = callPackage ../development/python-modules/javaobj-py3 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue