python.pkgs.entrypoints: configparser is a backport
This commit is contained in:
parent
75e41e34ed
commit
1d981edf81
@ -3,12 +3,12 @@
|
||||
, fetchPypi
|
||||
, configparser
|
||||
, pytest
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "entrypoints";
|
||||
version = "0.2.3";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytest];
|
||||
|
||||
propagatedBuildInputs = [ configparser ];
|
||||
propagatedBuildInputs = [] ++ lib.optional (!isPy3k) [ configparser ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
|
Loading…
Reference in New Issue
Block a user