diff options
Diffstat (limited to 'pkgs/development/python-modules/hwdata/default.nix')
-rw-r--r-- | pkgs/development/python-modules/hwdata/default.nix | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/hwdata/default.nix b/pkgs/development/python-modules/hwdata/default.nix index 9e73fb610170..2931839bf6c9 100644 --- a/pkgs/development/python-modules/hwdata/default.nix +++ b/pkgs/development/python-modules/hwdata/default.nix @@ -1,8 +1,9 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pkgs -, setuptools +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pkgs, + setuptools, }: buildPythonPackage rec { @@ -17,17 +18,13 @@ buildPythonPackage rec { hash = "sha256-hmvxVF9LOkezXnJdbtbEJWhU4uvUJgxQHYeWUoiniF0="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; patchPhase = '' substituteInPlace hwdata.py --replace "/usr/share/hwdata" "${pkgs.hwdata}/share/hwdata" ''; - pythonImportsCheck = [ - "hwdata" - ]; + pythonImportsCheck = [ "hwdata" ]; doCheck = false; # no tests |