1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 sphinx,
6 packaging,
7}:
8
9buildPythonPackage rec {
10 pname = "pallets-sphinx-themes";
11 version = "2.1.1";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "pallets";
16 repo = "pallets-sphinx-themes";
17 rev = "refs/tags/${version}";
18 sha256 = "sha256-Z03rsqkwF2rYaqRZflf5qc5EdHPIEcEcB1ftYIm5DQs=";
19 };
20
21 propagatedBuildInputs = [
22 packaging
23 sphinx
24 ];
25
26 pythonImportsCheck = [ "pallets_sphinx_themes" ];
27
28 doCheck = false;
29
30 meta = with lib; {
31 homepage = "https://github.com/pallets/pallets-sphinx-themes";
32 description = "Sphinx theme for Pallets projects";
33 license = licenses.bsd3;
34 maintainers = with maintainers; [ kaction ];
35 };
36}