2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
blockdiag,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
nwdiag,
|
|
|
|
pythonOlder,
|
|
|
|
sphinx,
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-nwdiag";
|
|
|
|
version = "2.0.0";
|
2021-12-30 13:39:12 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-bula1DutRv6NwfZRhciZfLHRZmXu42p+qvbeExN/+Fk=";
|
|
|
|
};
|
|
|
|
|
2021-12-30 13:39:12 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
blockdiag
|
|
|
|
nwdiag
|
|
|
|
sphinx
|
|
|
|
];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "sphinxcontrib.nwdiag" ];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Sphinx nwdiag extension";
|
|
|
|
homepage = "https://github.com/blockdiag/sphinxcontrib-nwdiag";
|
|
|
|
license = licenses.bsd2;
|
2021-12-30 13:39:12 +00:00
|
|
|
maintainers = with maintainers; [ davidtwco ];
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
}
|