diff options
Diffstat (limited to 'pkgs/development/python-modules/pync/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pync/default.nix | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/pync/default.nix b/pkgs/development/python-modules/pync/default.nix index d3efec9a6a26..46af3ed5db2f 100644 --- a/pkgs/development/python-modules/pync/default.nix +++ b/pkgs/development/python-modules/pync/default.nix @@ -1,13 +1,15 @@ -{ lib, stdenv -, buildPythonPackage -, fetchPypi -, python-dateutil -, pkgs -, which +{ + lib, + stdenv, + buildPythonPackage, + fetchPypi, + python-dateutil, + pkgs, + which, }: buildPythonPackage rec { - version = "2.0.3"; + version = "2.0.3"; pname = "pync"; format = "setuptools"; @@ -19,16 +21,15 @@ buildPythonPackage rec { nativeCheckInputs = [ which ]; propagatedBuildInputs = [ python-dateutil ]; - preInstall = lib.optionalString stdenv.isDarwin '' + preInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' sed -i 's|^\([ ]*\)self.bin_path.*$|\1self.bin_path = "${pkgs.terminal-notifier}/bin/terminal-notifier"|' build/lib/pync/TerminalNotifier.py ''; meta = with lib; { description = "Python Wrapper for Mac OS 10.8 Notification Center"; - homepage = "https://pypi.python.org/pypi/pync"; - license = licenses.mit; - platforms = platforms.darwin; + homepage = "https://pypi.python.org/pypi/pync"; + license = licenses.mit; + platforms = platforms.darwin; maintainers = with maintainers; [ lovek323 ]; }; - } |