From 3c715aef1579d28a9f0ef92f812de52fa53aa11d Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Thu, 1 Aug 2019 12:28:13 -0700 Subject: [PATCH] pythonPackages.send2trash: 1.4.2 -> 1.5.0 --- .../development/python-modules/send2trash/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/send2trash/default.nix b/pkgs/development/python-modules/send2trash/default.nix index 35115a45716e..3809c0418e4c 100644 --- a/pkgs/development/python-modules/send2trash/default.nix +++ b/pkgs/development/python-modules/send2trash/default.nix @@ -1,15 +1,12 @@ { stdenv -, lib , buildPythonPackage , fetchFromGitHub , pytest -, configparser -, isPy3k }: buildPythonPackage rec { pname = "Send2Trash"; - version = "1.4.2"; + version = "1.5.0"; src = fetchFromGitHub { owner = "hsoft"; @@ -19,10 +16,10 @@ buildPythonPackage rec { }; doCheck = !stdenv.isDarwin; - checkPhase = "HOME=. py.test"; - checkInputs = [ pytest ] ++ lib.optional (!isPy3k) configparser; + checkPhase = "HOME=$TMPDIR pytest"; + checkInputs = [ pytest ]; - meta = with lib; { + meta = with stdenv.lib; { description = "Send file to trash natively under macOS, Windows and Linux"; homepage = https://github.com/hsoft/send2trash; license = licenses.bsd3;