nixpkgs/pkgs/development/python-modules/dominate/default.nix
Fabian Affolter f5c80b0c0f
python310Packages.dominate: switch to pytestCheckHook
- add pythonImportsCheck
- specify license
- update description
2022-07-26 09:01:10 +02:00

35 lines
665 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "dominate";
version = "2.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-UgEBNgiS6/nQVT9n0341n/kkA9ih4zgUAwUDCIoF2kk=";
};
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/";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ ];
};
}