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