nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 sphinx,
6 accessible-pygments,
7 beautifulsoup4,
8 docutils,
9 packaging,
10 typing-extensions,
11}:
12
13buildPythonPackage rec {
14 pname = "pydata-sphinx-theme";
15 version = "0.16.1";
16
17 format = "wheel";
18
19 src = fetchPypi {
20 inherit version;
21 format = "wheel";
22 dist = "py3";
23 python = "py3";
24 pname = "pydata_sphinx_theme";
25 hash = "sha256-IlMx6KxLMmgsGPysWlem9xfE5jLOpd0OJHtVFV+uzN4=";
26 };
27
28 propagatedBuildInputs = [
29 sphinx
30 accessible-pygments
31 beautifulsoup4
32 docutils
33 packaging
34 typing-extensions
35 ];
36
37 pythonImportsCheck = [ "pydata_sphinx_theme" ];
38
39 meta = {
40 description = "Bootstrap-based Sphinx theme from the PyData community";
41 homepage = "https://github.com/pydata/pydata-sphinx-theme";
42 changelog = "https://github.com/pydata/pydata-sphinx-theme/releases/tag/v${version}";
43 license = lib.licenses.bsd3;
44 maintainers = [ ];
45 };
46}