Files
nixpkgs/pkgs/development/python-modules/sphinx-basic-ng/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

36 lines
753 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
sphinx,
}:
buildPythonPackage rec {
pname = "sphinx-basic-ng";
version = "1.0.0.beta2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pradyunsg";
repo = "sphinx-basic-ng";
rev = version;
hash = "sha256-MHBGIKOKhGklrx3O075LRud8NhY2hzlTWh+jalrFpko=";
};
propagatedBuildInputs = [ sphinx ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "sphinx_basic_ng" ];
meta = with lib; {
description = "Modernised skeleton for Sphinx themes";
homepage = "https://sphinx-basic-ng.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ Luflosi ];
};
}