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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
800 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pytestCheckHook
, pythonOlder
}:
2018-08-14 17:33:31 +00:00
buildPythonPackage rec {
pname = "dominate";
version = "2.9.1";
pyproject = true;
disabled = pythonOlder "3.7";
2018-08-14 17:33:31 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-VYKEaH2biq4ZBOPWBRrRMt1KjAz1UbN+pOfkKjHRncQ=";
2018-08-14 17:33:31 +00:00
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"dominate"
];
2018-08-14 17:33:31 +00:00
meta = with lib; {
description = "Library for creating and manipulating HTML documents using an elegant DOM API";
homepage = "https://github.com/Knio/dominate/";
changelog = "https://github.com/Knio/dominate/releases/tag/${version}";
license = licenses.lgpl3Plus;
2018-08-14 17:33:31 +00:00
maintainers = with maintainers; [ ];
};
}