pythonPackages.send2trash: 1.4.2 -> 1.5.0
This commit is contained in:
parent
0e520afd0e
commit
3c715aef15
@ -1,15 +1,12 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest
|
, pytest
|
||||||
, configparser
|
|
||||||
, isPy3k
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Send2Trash";
|
pname = "Send2Trash";
|
||||||
version = "1.4.2";
|
version = "1.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hsoft";
|
owner = "hsoft";
|
||||||
@ -19,10 +16,10 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
checkPhase = "HOME=. py.test";
|
checkPhase = "HOME=$TMPDIR pytest";
|
||||||
checkInputs = [ pytest ] ++ lib.optional (!isPy3k) configparser;
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Send file to trash natively under macOS, Windows and Linux";
|
description = "Send file to trash natively under macOS, Windows and Linux";
|
||||||
homepage = https://github.com/hsoft/send2trash;
|
homepage = https://github.com/hsoft/send2trash;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
Loading…
Reference in New Issue
Block a user