diff options
author | Gregory Anders <greg@gpanders.com> | 2021-07-16 15:33:50 -0600 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-07-17 10:47:41 -0700 |
commit | 1a65e24a8cbb9fbff749819ef305eb9801483a7c (patch) | |
tree | 2ae27e6cad5174eb30d6e21ed7bc40e40ae890ef /pkgs/development/python-modules/pync | |
parent | 6d1494bc669c21e0cf16aec3af6450d1776d7883 (diff) |
python3Packages.pync: enable for python3 and update checkInputs
Enable pync for Python 3 and add the which package to test dependencies so that pync's tests pass.
Diffstat (limited to 'pkgs/development/python-modules/pync')
-rw-r--r-- | pkgs/development/python-modules/pync/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pync/default.nix b/pkgs/development/python-modules/pync/default.nix index 0eb13c732d7ed..f01bfa33186c0 100644 --- a/pkgs/development/python-modules/pync/default.nix +++ b/pkgs/development/python-modules/pync/default.nix @@ -1,22 +1,23 @@ { lib, stdenv , buildPythonPackage , fetchPypi -, isPy27 , python-dateutil , pkgs +, coreutils +, which }: buildPythonPackage rec { version = "2.0.3"; pname = "pync"; - disabled = ! isPy27; src = fetchPypi { inherit pname version; sha256 = "38b9e61735a3161f9211a5773c5f5ea698f36af4ff7f77fa03e8d1ff0caa117f"; }; - buildInputs = [ pkgs.coreutils ]; + nativeBuildInputs = [ coreutils ]; + checkInputs = [ which ]; propagatedBuildInputs = [ python-dateutil ]; preInstall = lib.optionalString stdenv.isDarwin '' @@ -25,7 +26,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python Wrapper for Mac OS 10.8 Notification Center"; - homepage = "https://pypi.python.org/pypi/pync/1.4"; + homepage = "https://pypi.python.org/pypi/pync"; license = licenses.mit; platforms = platforms.darwin; maintainers = with maintainers; [ lovek323 ]; |