python.pkgs.entrypoints: configparser is a backport

This commit is contained in:
Frederik Rietdijk 2018-04-05 19:42:25 +02:00
parent 75e41e34ed
commit 1d981edf81

View File

@ -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