python310Packages.dominate: switch to pytestCheckHook
- add pythonImportsCheck - specify license - update description
This commit is contained in:
parent
0d7a058a1c
commit
f5c80b0c0f
1 changed files with 19 additions and 5 deletions
|
@ -1,20 +1,34 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dominate";
|
||||
version = "2.7.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-UgEBNgiS6/nQVT9n0341n/kkA9ih4zgUAwUDCIoF2kk=";
|
||||
hash = "sha256-UgEBNgiS6/nQVT9n0341n/kkA9ih4zgUAwUDCIoF2kk=";
|
||||
};
|
||||
|
||||
doCheck = !isPy3k;
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dominate"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for creating and manipulating HTML documents using an elegant DOM API";
|
||||
homepage = "https://github.com/Knio/dominate/";
|
||||
description = "Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API";
|
||||
license = licenses.lgpl3;
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue