summary refs log tree commit diff
path: root/pkgs/development/python-modules/sphinxcontrib-seqdiag/default.nix
blob: cc3a96086e4e86aed2ed78095abeef101e21c500 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, blockdiag
, buildPythonPackage
, fetchPypi
, pythonOlder
, seqdiag
, sphinx
}:

buildPythonPackage rec {
  pname = "sphinxcontrib-seqdiag";
  version = "3.0.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-QH5IeXZz9x2Ujp/6BHFsrB2ZqeyPYW3jdk1C0DNBZXQ=";
  };

  propagatedBuildInputs = [
    blockdiag
    seqdiag
    sphinx
  ];

  pythonImportsCheck = [
    "sphinxcontrib.seqdiag"
  ];

  meta = with lib; {
    description = "Sphinx seqdiag extension";
    homepage = "https://github.com/blockdiag/sphinxcontrib-seqdiag";
    license = licenses.bsd2;
    maintainers = with maintainers; [ davidtwco ];
  };
}