diff options
Diffstat (limited to 'pkgs/development/python-modules/cpufeature/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/cpufeature/default.nix | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/cpufeature/default.nix b/pkgs/development/python-modules/cpufeature/default.nix index cade32a1955b..13f364fb00ee 100644 --- a/pkgs/development/python-modules/cpufeature/default.nix +++ b/pkgs/development/python-modules/cpufeature/default.nix @@ -1,9 +1,10 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, unittestCheckHook -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + fetchFromGitHub, + unittestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -20,21 +21,13 @@ buildPythonPackage rec { hash = "sha256-dp569Tp8E5/avQpYvhPNPgS/A+q2e/ie+7BR7h2Ip+I="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = [ - setuptools - ]; + propagatedBuildInputs = [ setuptools ]; - nativeCheckInputs = [ - unittestCheckHook - ]; + nativeCheckInputs = [ unittestCheckHook ]; - pythonImportsCheck = [ - "cpufeature" - ]; + pythonImportsCheck = [ "cpufeature" ]; preCheck = '' # Change into the test directory due to a relative resource path @@ -46,6 +39,9 @@ buildPythonPackage rec { homepage = "https://github.com/robbmcleod/cpufeature"; license = licenses.cc0; maintainers = with maintainers; [ fab ]; - platforms = [ "x86_64-linux" "x86_64-windows" ]; + platforms = [ + "x86_64-linux" + "x86_64-windows" + ]; }; } |
