2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pygments,
|
|
|
|
}:
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pygments-style-github";
|
|
|
|
version = "0.4";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-D8q9IxR9VMhiQPYhZ4xTyZin3vqg0naRHB8t7wpF9Kc=";
|
|
|
|
};
|
|
|
|
|
|
|
|
# no tests exist on upstream repo
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pygments ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pygments_style_github" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Port of the github color scheme for pygments";
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://github.com/hugomaiavieira/pygments-style-github";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ drupol ];
|
|
|
|
};
|
|
|
|
}
|