1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 isPy27,
7}:
8
9buildPythonPackage {
10 pname = "pyxl3";
11 version = "1.4";
12 format = "setuptools";
13 disabled = isPy27;
14
15 src = fetchFromGitHub {
16 owner = "gvanrossum";
17 repo = "pyxl3";
18 rev = "e6588c12caee49c43faf6aa260f04d7e971f6aa8";
19 hash = "sha256-8nKQgwLXPVgPxNRF4CryKJb7+llDsZHis5VctxqpIRo=";
20 };
21
22 nativeCheckInputs = [ pytestCheckHook ];
23
24 meta = with lib; {
25 description = "Python 3 port of pyxl for writing structured and reusable inline HTML";
26 homepage = "https://github.com/gvanrossum/pyxl3";
27 license = licenses.asl20;
28 maintainers = [ ];
29 };
30}