summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/cssutils
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-05-24 10:23:41 +0200
committerRobert Schütz <dev@schuetz-co.de>2021-05-24 10:37:56 +0200
commitade1f796cb93e804983d956efc3356bdc1cf532f (patch)
tree133f402e4552980324d9bbe072eff5e68d97bd5d /pkgs/development/python-modules/cssutils
parentMerge pull request #124220 from rpearce/vim-plugin-nord-nvim (diff)
downloadnixpkgs-ade1f796cb93e804983d956efc3356bdc1cf532f.tar.gz
python3Packages.cssutils: 2.2.0 -> 2.3.0
https://github.com/jaraco/cssutils/blob/v2.3.0/CHANGES.rst
Diffstat (limited to 'pkgs/development/python-modules/cssutils')
-rw-r--r--pkgs/development/python-modules/cssutils/default.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/cssutils/default.nix b/pkgs/development/python-modules/cssutils/default.nix
index 8bfe8ea2948d..9d1aec862508 100644
--- a/pkgs/development/python-modules/cssutils/default.nix
+++ b/pkgs/development/python-modules/cssutils/default.nix
@@ -5,19 +5,21 @@
, setuptools-scm
, toml
, importlib-metadata
+, cssselect
+, lxml
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cssutils";
- version = "2.2.0";
+ version = "2.3.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "5bef59f6b59bdccbea8e36cb292d2be1b6be1b485fc4a9f5886616f19eb31aaf";
+ sha256 = "sha256-stOxYEfKroLlxZADaTW6+htiHPRcLziIWvS+SDjw/QA=";
};
nativeBuildInputs = [
@@ -30,6 +32,8 @@ buildPythonPackage rec {
];
checkInputs = [
+ cssselect
+ lxml
mock
pytestCheckHook
];
@@ -38,6 +42,12 @@ buildPythonPackage rec {
# access network
"test_parseUrl"
"encutils"
+ "website.logging"
+ ] ++ lib.optionals (pythonOlder "3.9") [
+ # AttributeError: module 'importlib.resources' has no attribute 'files'
+ "test_parseFile"
+ "test_parseString"
+ "test_combine"
];
pythonImportsCheck = [ "cssutils" ];