about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyxl3/default.nix
blob: 04d5ef2b5b969a19b70312b86a45fd17ec346e41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  isPy27,
}:

buildPythonPackage rec {
  pname = "pyxl3";
  version = "1.4";
  format = "setuptools";
  disabled = isPy27;

  src = fetchFromGitHub {
    owner = "gvanrossum";
    repo = pname;
    rev = "e6588c12caee49c43faf6aa260f04d7e971f6aa8";
    hash = "sha256-8nKQgwLXPVgPxNRF4CryKJb7+llDsZHis5VctxqpIRo=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Python 3 port of pyxl for writing structured and reusable inline HTML";
    homepage = "https://github.com/gvanrossum/pyxl3";
    license = licenses.asl20;
    maintainers = [ ];
  };
}