nixpkgs/pkgs/development/python-modules/pygments-style-github/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

31 lines
679 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pygments,
}:
buildPythonPackage rec {
pname = "pygments-style-github";
version = "0.4";
format = "setuptools";
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; {
description = "Port of the github color scheme for pygments";
homepage = "https://github.com/hugomaiavieira/pygments-style-github";
license = licenses.bsd3;
maintainers = with maintainers; [ drupol ];
};
}