summary refs log tree commit diff
path: root/pkgs/development/python-modules/sphinxcontrib-actdiag/default.nix
blob: 32470e98b4e0f37d10e337374f6309d87a29a821 (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
, buildPythonPackage
, fetchPypi
, sphinx
, actdiag
, blockdiag
, pythonOlder
}:

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

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-PFXUVP/Due/nwg8q2vAiGZuCVhLTLyAL6KSXqofg+B8=";
  };

  propagatedBuildInputs = [
    actdiag
    blockdiag
    sphinx
  ];

  pythonImportsCheck = [
    "sphinxcontrib.actdiag"
  ];

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