1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 sphinx,
6 actdiag,
7 blockdiag,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "sphinxcontrib-actdiag";
13 version = "3.0.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-PFXUVP/Due/nwg8q2vAiGZuCVhLTLyAL6KSXqofg+B8=";
21 };
22
23 propagatedBuildInputs = [
24 actdiag
25 blockdiag
26 sphinx
27 ];
28
29 pythonImportsCheck = [ "sphinxcontrib.actdiag" ];
30
31 pythonNamespaces = [ "sphinxcontrib" ];
32
33 meta = with lib; {
34 description = "Sphinx actdiag extension";
35 homepage = "https://github.com/blockdiag/sphinxcontrib-actdiag";
36 license = licenses.bsd2;
37 maintainers = [ ];
38 };
39}