python.pkgs.send2trash: configparser is a backport
This commit is contained in:
parent
1d981edf81
commit
1bc0727417
@ -4,6 +4,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest
|
, pytest
|
||||||
, configparser
|
, configparser
|
||||||
|
, isPy3k
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -19,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
checkPhase = "HOME=. py.test";
|
checkPhase = "HOME=. py.test";
|
||||||
checkInputs = [ pytest configparser ];
|
checkInputs = [ pytest ] ++ lib.optional (!isPy3k) configparser;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Send file to trash natively under macOS, Windows and Linux";
|
description = "Send file to trash natively under macOS, Windows and Linux";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user