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

47 lines
893 B
Nix

{
lib,
beautifulsoup4,
buildPythonPackage,
css-html-js-minify,
fetchPypi,
lxml,
python-slugify,
pythonOlder,
sphinx,
unidecode,
}:
buildPythonPackage rec {
pname = "sphinx-material";
version = "0.0.36";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "sphinx_material";
inherit version;
hash = "sha256-7v9ffT3AFq8yuv33DGbmcdFch1Tb4GE9+9Yp++2RKGk=";
};
propagatedBuildInputs = [
sphinx
beautifulsoup4
python-slugify
unidecode
css-html-js-minify
lxml
];
doCheck = false; # no tests
pythonImportsCheck = [ "sphinx_material" ];
meta = with lib; {
description = "Material-based, responsive theme inspired by mkdocs-material";
homepage = "https://bashtage.github.io/sphinx-material";
license = licenses.mit;
maintainers = with maintainers; [ FlorianFranzen ];
};
}