Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, blockdiag 3, buildPythonPackage 4, fetchPypi 5, pythonOlder 6, seqdiag 7, sphinx 8}: 9 10buildPythonPackage rec { 11 pname = "sphinxcontrib-seqdiag"; 12 version = "3.0.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-QH5IeXZz9x2Ujp/6BHFsrB2ZqeyPYW3jdk1C0DNBZXQ="; 20 }; 21 22 propagatedBuildInputs = [ 23 blockdiag 24 seqdiag 25 sphinx 26 ]; 27 28 pythonImportsCheck = [ 29 "sphinxcontrib.seqdiag" 30 ]; 31 32 meta = with lib; { 33 description = "Sphinx seqdiag extension"; 34 homepage = "https://github.com/blockdiag/sphinxcontrib-seqdiag"; 35 license = licenses.bsd2; 36 maintainers = with maintainers; [ davidtwco ]; 37 }; 38}