diff options
Diffstat (limited to 'pkgs/development/python-modules/token-bucket/default.nix')
-rw-r--r-- | pkgs/development/python-modules/token-bucket/default.nix | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/token-bucket/default.nix b/pkgs/development/python-modules/token-bucket/default.nix index 0805ee9dea39e..1af40f588f575 100644 --- a/pkgs/development/python-modules/token-bucket/default.nix +++ b/pkgs/development/python-modules/token-bucket/default.nix @@ -1,11 +1,12 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchFromGitHub -, fetchpatch -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + stdenv, + buildPythonPackage, + fetchFromGitHub, + fetchpatch, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -36,15 +37,11 @@ buildPythonPackage rec { --replace "'pytest-runner'" "" ''; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - doCheck = !stdenv.isDarwin; + doCheck = !stdenv.hostPlatform.isDarwin; meta = with lib; { description = "Token Bucket Implementation for Python Web Apps"; |