1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pygments,
6}:
7
8buildPythonPackage rec {
9 pname = "pygments-style-github";
10 version = "0.4";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-D8q9IxR9VMhiQPYhZ4xTyZin3vqg0naRHB8t7wpF9Kc=";
16 };
17
18 # no tests exist on upstream repo
19 doCheck = false;
20
21 propagatedBuildInputs = [ pygments ];
22
23 pythonImportsCheck = [ "pygments_style_github" ];
24
25 meta = with lib; {
26 description = "Port of the github color scheme for pygments";
27 homepage = "https://github.com/hugomaiavieira/pygments-style-github";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ ];
30 };
31}