ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyxl3 / default.nix
blob8cdfe6436e3531edee631a8d6a17c12e2cb3b819
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , unittest2
5 , python
6 , isPy27
7 }:
9 buildPythonPackage rec {
10   pname = "pyxl3";
11   version = "1.4";
12   disabled = isPy27;
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "ad4cc56bf4b35def33783e6d4783882702111fe8f9a781c63228e2114067c065";
17   };
19   checkInputs = [ unittest2 ];
21   checkPhase = ''
22      ${python.interpreter} tests/test_basic.py
23   '';
25   # tests require weird codec installation
26   # which is not necessary for major use of package
27   doCheck = false;
29   meta = with lib; {
30     description = "Python 3 port of pyxl for writing structured and reusable inline HTML";
31     homepage = "https://github.com/gvanrossum/pyxl3";
32     license = licenses.asl20;
33     maintainers = [ maintainers.costrouc ];
34   };