blob: 488126dbe18dc19b4815a147b0956eacceaa189f (
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
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
pygments,
isPy3k,
}:
buildPythonPackage rec {
pname = "pygments_better_html";
version = "0.1.5";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
hash = "sha256-SLAe5ubIGEchUNoHCct6CWisBja3WNEfpE48v9CTzPQ=";
};
propagatedBuildInputs = [ pygments ];
# has no tests
doCheck = false;
pythonImportsCheck = [ "pygments_better_html" ];
meta = with lib; {
homepage = "https://github.com/Kwpolska/pygments_better_html";
description = "Improved line numbering for Pygments’ HTML formatter";
license = licenses.bsd3;
maintainers = with maintainers; [ hexa ];
};
}
|