1{
2 lib,
3 blockdiag,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7 seqdiag,
8 sphinx,
9}:
10
11buildPythonPackage rec {
12 pname = "sphinxcontrib-seqdiag";
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-QH5IeXZz9x2Ujp/6BHFsrB2ZqeyPYW3jdk1C0DNBZXQ=";
21 };
22
23 propagatedBuildInputs = [
24 blockdiag
25 seqdiag
26 sphinx
27 ];
28
29 pythonImportsCheck = [ "sphinxcontrib.seqdiag" ];
30
31 pythonNamespaces = [ "sphinxcontrib" ];
32
33 meta = with lib; {
34 description = "Sphinx seqdiag extension";
35 homepage = "https://github.com/blockdiag/sphinxcontrib-seqdiag";
36 license = licenses.bsd2;
37 maintainers = [ ];
38 };
39}