depot/third_party/nixpkgs/pkgs/development/python-modules/dominate/default.nix

35 lines
671 B
Nix
Raw Normal View History

{ 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=";
};
nativeCheckInputs = [
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; [ ];
};
}