Merge pull request #116082 from dotlambda/cssutils-2.2.0
python3.pkgs.cssutils: 2.0.0 -> 2.2.0
This commit is contained in:
commit
80d06a8e18
|
@ -1,29 +1,43 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, isPy27
|
, pythonOlder
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, setuptools-scm
|
||||||
|
, toml
|
||||||
|
, importlib-metadata
|
||||||
, mock
|
, mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cssutils";
|
pname = "cssutils";
|
||||||
version = "2.0.0";
|
version = "2.2.0";
|
||||||
|
|
||||||
disabled = isPy27;
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "984b5dbe3a2a0483d7cb131609a17f4cbaa34dda306c419924858a88588fed7c";
|
sha256 = "5bef59f6b59bdccbea8e36cb292d2be1b6be1b485fc4a9f5886616f19eb31aaf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
toml
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||||
|
importlib-metadata
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
mock
|
mock
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_parseUrl" # accesses network
|
# access network
|
||||||
|
"test_parseUrl"
|
||||||
|
"encutils"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "cssutils" ];
|
pythonImportsCheck = [ "cssutils" ];
|
||||||
|
|
Loading…
Reference in a new issue