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