python.pkgs.send2trash: fix on darwin

Changed files
+3 -1
pkgs
development
python-modules
send2trash
+3 -1
pkgs/development/python-modules/send2trash/default.nix
···
-
{ lib
+
{ stdenv
+
, lib
, buildPythonPackage
, fetchFromGitHub
, pytest
···
sha256 = "1w502i5h8xaqf03g6h95h4vs1wqfv6kg925dn63phrwmg1hfz2xx";
};
+
doCheck = !stdenv.isDarwin;
checkPhase = "HOME=. py.test";
checkInputs = [ pytest configparser ];