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