1{ lib, buildPythonPackage, fetchFromGitHub, sphinx, packaging }:
2
3buildPythonPackage rec {
4 pname = "pallets-sphinx-themes";
5 version = "2.0.2";
6
7 src = fetchFromGitHub {
8 owner = "pallets";
9 repo = "pallets-sphinx-themes";
10 rev = version;
11 sha256 = "0nvznv6abmkkda2fahydd4rykd94rmz74hx5aypv6j22zvf5pj8b";
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}