summary refs log tree commit diff
path: root/pkgs/development/python-modules/sphinxcontrib-nwdiag/default.nix
blob: de4ebf723bf1ed82d6c097220b6029fa360b5969 (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
39
40
{ lib
, blockdiag
, buildPythonPackage
, fetchPypi
, nwdiag
, pythonOlder
, sphinx
}:

buildPythonPackage rec {
  pname = "sphinxcontrib-nwdiag";
  version = "2.0.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-bula1DutRv6NwfZRhciZfLHRZmXu42p+qvbeExN/+Fk=";
  };

  propagatedBuildInputs = [
    blockdiag
    nwdiag
    sphinx
  ];

  pythonImportsCheck = [
    "sphinxcontrib.nwdiag"
  ];

  pythonNamespaces = [ "sphinxcontrib" ];

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