diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/monotonic/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/monotonic/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/monotonic/default.nix b/nixpkgs/pkgs/development/python-modules/monotonic/default.nix index 38a25841c7b6..e93bf206edaa 100644 --- a/nixpkgs/pkgs/development/python-modules/monotonic/default.nix +++ b/nixpkgs/pkgs/development/python-modules/monotonic/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , buildPythonPackage , fetchPypi }: @@ -12,14 +12,14 @@ buildPythonPackage rec { sha256 = "23953d55076df038541e648a53676fb24980f7a1be290cdda21300b3bc21dfb0"; }; - __propagatedImpureHostDeps = stdenv.lib.optional stdenv.isDarwin "/usr/lib/libc.dylib"; + __propagatedImpureHostDeps = lib.optional stdenv.isDarwin "/usr/lib/libc.dylib"; - patchPhase = stdenv.lib.optionalString stdenv.isLinux '' + patchPhase = lib.optionalString stdenv.isLinux '' substituteInPlace monotonic.py --replace \ "ctypes.util.find_library('c')" "'${stdenv.glibc.out}/lib/libc.so.6'" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "An implementation of time.monotonic() for Python 2 & < 3.3"; homepage = "https://github.com/atdt/monotonic"; license = licenses.asl20; |