1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 sphinx,
7}:
8
9buildPythonPackage rec {
10 pname = "piccolo-theme";
11 version = "0.24.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.9";
15
16 src = fetchPypi {
17 pname = "piccolo_theme";
18 inherit version;
19 hash = "sha256-Cc9w9Lttuk680UlmVQwpIznBHZMclTMiHNPb/+sdG9k=";
20 };
21
22 dependencies = [ sphinx ];
23
24 # Module has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "piccolo_theme" ];
28
29 meta = with lib; {
30 description = "Clean and modern Sphinx theme";
31 homepage = "https://piccolo-theme.readthedocs.io";
32 changelog = "https://github.com/piccolo-orm/piccolo_theme/releases/tag/${version}";
33 license = with licenses; [
34 mit
35 asl20
36 ];
37 maintainers = with maintainers; [ loicreynier ];
38 };
39}