diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 16:01:06 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-05-22 17:32:03 +0200 |
| commit | 59b1aef59071cae6e87859dc65de973d2cc595c0 (patch) | |
| tree | 18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/cssutils/default.nix | |
| parent | python312Packages.waitress-django: clean source (diff) | |
| download | nixpkgs-59b1aef59071cae6e87859dc65de973d2cc595c0.tar.gz | |
python3Packages: format with nixfmt
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 |
