Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / sphinxcontrib-nwdiag / default.nix
blobde4ebf723bf1ed82d6c097220b6029fa360b5969
1 { lib
2 , blockdiag
3 , buildPythonPackage
4 , fetchPypi
5 , nwdiag
6 , pythonOlder
7 , sphinx
8 }:
10 buildPythonPackage rec {
11   pname = "sphinxcontrib-nwdiag";
12   version = "2.0.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-bula1DutRv6NwfZRhciZfLHRZmXu42p+qvbeExN/+Fk=";
20   };
22   propagatedBuildInputs = [
23     blockdiag
24     nwdiag
25     sphinx
26   ];
28   pythonImportsCheck = [
29     "sphinxcontrib.nwdiag"
30   ];
32   pythonNamespaces = [ "sphinxcontrib" ];
34   meta = with lib; {
35     description = "Sphinx nwdiag extension";
36     homepage = "https://github.com/blockdiag/sphinxcontrib-nwdiag";
37     license = licenses.bsd2;
38     maintainers = with maintainers; [ davidtwco ];
39   };