mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
29 lines
602 B
Nix
29 lines
602 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, sphinx
|
||
|
, blockdiag
|
||
|
, nwdiag
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "sphinxcontrib-nwdiag";
|
||
|
version = "2.0.0";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
hash = "sha256-bula1DutRv6NwfZRhciZfLHRZmXu42p+qvbeExN/+Fk=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ sphinx blockdiag nwdiag ];
|
||
|
|
||
|
pythonImportsCheck = [ "sphinxcontrib.nwdiag" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Sphinx nwdiag extension";
|
||
|
homepage = "https://github.com/blockdiag/sphinxcontrib-nwdiag";
|
||
|
maintainers = with maintainers; [ davidtwco ];
|
||
|
license = licenses.bsd2;
|
||
|
};
|
||
|
}
|