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