anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / sphinx-material / default.nix
blob752c15928d4085834a26b2fed9dd66fedbd7fb30
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   css-html-js-minify,
6   fetchPypi,
7   lxml,
8   python-slugify,
9   pythonOlder,
10   setuptools,
11   sphinx,
12   unidecode,
13   versioneer,
16 buildPythonPackage rec {
17   pname = "sphinx-material";
18   version = "0.0.36";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     pname = "sphinx_material";
25     inherit version;
26     hash = "sha256-7v9ffT3AFq8yuv33DGbmcdFch1Tb4GE9+9Yp++2RKGk=";
27   };
29   postPatch = ''
30     # Remove vendorized versioneer.py
31     rm versioneer.py
32   '';
34   build-system = [
35     setuptools
36     versioneer
37   ];
39   dependencies = [
40     sphinx
41     beautifulsoup4
42     python-slugify
43     unidecode
44     css-html-js-minify
45     lxml
46   ];
48   # Module has no tests
49   doCheck = false;
51   pythonImportsCheck = [ "sphinx_material" ];
53   meta = with lib; {
54     description = "Material-based, responsive theme inspired by mkdocs-material";
55     homepage = "https://bashtage.github.io/sphinx-material";
56     changelog = "https://github.com/bashtage/sphinx-material/releases/tag/v${version}";
57     license = licenses.mit;
58     maintainers = with maintainers; [ FlorianFranzen ];
59   };