diff options
Diffstat (limited to 'pkgs/development/python-modules/pyudev/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/pyudev/default.nix | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/pyudev/default.nix b/pkgs/development/python-modules/pyudev/default.nix index 685da38ed2f1..019158e1cbf1 100644 --- a/pkgs/development/python-modules/pyudev/default.nix +++ b/pkgs/development/python-modules/pyudev/default.nix @@ -1,13 +1,14 @@ -{ lib -, fetchPypi -, buildPythonPackage -, six -, udev -, pytest -, mock -, hypothesis -, docutils -, stdenvNoCC +{ + lib, + fetchPypi, + buildPythonPackage, + six, + udev, + pytest, + mock, + hypothesis, + docutils, + stdenvNoCC, }: buildPythonPackage rec { @@ -23,9 +24,14 @@ buildPythonPackage rec { postPatch = lib.optionalString stdenvNoCC.isLinux '' substituteInPlace src/pyudev/_ctypeslib/utils.py \ --replace "find_library(name)" "'${lib.getLib udev}/lib/libudev.so'" - ''; + ''; - nativeCheckInputs = [ pytest mock hypothesis docutils ]; + nativeCheckInputs = [ + pytest + mock + hypothesis + docutils + ]; propagatedBuildInputs = [ six ]; checkPhase = '' |
