diff options
author | Robin Gloster <mail@glob.in> | 2018-01-16 22:27:59 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2018-01-17 00:10:08 +0100 |
commit | ea0bfbe4f6c6cf55ece9abcc6a85cb900c9cf4a9 (patch) | |
tree | 861fb15d62c03f0918df2db6acfc2a23c56493ee /pkgs/development/python-modules/send2trash | |
parent | 1d3038956ced13b38e05ffe160aa352f2ac3b69d (diff) | |
download | nixlib-ea0bfbe4f6c6cf55ece9abcc6a85cb900c9cf4a9.tar nixlib-ea0bfbe4f6c6cf55ece9abcc6a85cb900c9cf4a9.tar.gz nixlib-ea0bfbe4f6c6cf55ece9abcc6a85cb900c9cf4a9.tar.bz2 nixlib-ea0bfbe4f6c6cf55ece9abcc6a85cb900c9cf4a9.tar.lz nixlib-ea0bfbe4f6c6cf55ece9abcc6a85cb900c9cf4a9.tar.xz nixlib-ea0bfbe4f6c6cf55ece9abcc6a85cb900c9cf4a9.tar.zst nixlib-ea0bfbe4f6c6cf55ece9abcc6a85cb900c9cf4a9.zip |
python.pkgs.send2trash: 1.3.0 -> 1.4.2
Diffstat (limited to 'pkgs/development/python-modules/send2trash')
-rw-r--r-- | pkgs/development/python-modules/send2trash/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/send2trash/default.nix b/pkgs/development/python-modules/send2trash/default.nix new file mode 100644 index 000000000000..379f5677bd1c --- /dev/null +++ b/pkgs/development/python-modules/send2trash/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytest +, configparser +}: + +buildPythonPackage rec { + pname = "Send2Trash"; + version = "1.4.2"; + + src = fetchFromGitHub { + owner = "hsoft"; + repo = "send2trash"; + rev = version; + sha256 = "1w502i5h8xaqf03g6h95h4vs1wqfv6kg925dn63phrwmg1hfz2xx"; + }; + + checkPhase = "HOME=. py.test"; + checkInputs = [ pytest configparser ]; + + meta = with lib; { + description = "Send file to trash natively under macOS, Windows and Linux"; + homepage = https://github.com/hsoft/send2trash; + license = licenses.bsd3; + }; +} |