diff options
Diffstat (limited to 'pkgs/development/python-modules/cssutils/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/cssutils/default.nix | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/cssutils/default.nix b/pkgs/development/python-modules/cssutils/default.nix index 8b8a650defe6..5bf252586915 100644 --- a/pkgs/development/python-modules/cssutils/default.nix +++ b/pkgs/development/python-modules/cssutils/default.nix @@ -1,15 +1,16 @@ -{ lib -, buildPythonPackage -, pythonAtLeast -, pythonOlder -, fetchFromGitHub -, setuptools-scm -, cssselect -, jaraco-test -, lxml -, mock -, pytestCheckHook -, importlib-resources +{ + lib, + buildPythonPackage, + pythonAtLeast, + pythonOlder, + fetchFromGitHub, + setuptools-scm, + cssselect, + jaraco-test, + lxml, + mock, + pytestCheckHook, + importlib-resources, }: buildPythonPackage rec { @@ -19,7 +20,6 @@ buildPythonPackage rec { disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "jaraco"; repo = "cssutils"; @@ -27,9 +27,7 @@ buildPythonPackage rec { hash = "sha256-1sAn6pFwWsnYS1eHQmyDNGTo6kdhL1vJBwUptADvHyo="; }; - build-system = [ - setuptools-scm - ]; + build-system = [ setuptools-scm ]; nativeCheckInputs = [ cssselect @@ -37,9 +35,7 @@ buildPythonPackage rec { lxml mock pytestCheckHook - ] ++ lib.optionals (pythonOlder "3.9") [ - importlib-resources - ]; + ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ]; disabledTests = [ # access network |
