Files
nixpkgs/pkgs/development/python-modules/pybtex-docutils/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

38 lines
666 B
Nix

{
lib,
buildPythonPackage,
docutils,
fetchPypi,
pybtex,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pybtex-docutils";
version = "1.0.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-On69+StZPgDowcU4qpogvKXZLYQjESRxWsyWTVHZPGs=";
};
buildInputs = [
docutils
pybtex
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pybtex_docutils" ];
meta = with lib; {
description = "Docutils backend for pybtex";
homepage = "https://github.com/mcmtroffaes/pybtex-docutils";
license = licenses.mit;
};
}