Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 28 lines 602 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, sphinx 5, blockdiag 6, nwdiag 7}: 8 9buildPythonPackage rec { 10 pname = "sphinxcontrib-nwdiag"; 11 version = "2.0.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-bula1DutRv6NwfZRhciZfLHRZmXu42p+qvbeExN/+Fk="; 16 }; 17 18 propagatedBuildInputs = [ sphinx blockdiag nwdiag ]; 19 20 pythonImportsCheck = [ "sphinxcontrib.nwdiag" ]; 21 22 meta = with lib; { 23 description = "Sphinx nwdiag extension"; 24 homepage = "https://github.com/blockdiag/sphinxcontrib-nwdiag"; 25 maintainers = with maintainers; [ davidtwco ]; 26 license = licenses.bsd2; 27 }; 28}