Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, sphinx 5, actdiag 6, blockdiag 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "sphinxcontrib-actdiag"; 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-PFXUVP/Due/nwg8q2vAiGZuCVhLTLyAL6KSXqofg+B8="; 20 }; 21 22 propagatedBuildInputs = [ 23 actdiag 24 blockdiag 25 sphinx 26 ]; 27 28 pythonImportsCheck = [ 29 "sphinxcontrib.actdiag" 30 ]; 31 32 meta = with lib; { 33 description = "Sphinx actdiag extension"; 34 homepage = "https://github.com/blockdiag/sphinxcontrib-actdiag"; 35 license = licenses.bsd2; 36 maintainers = with maintainers; [ davidtwco ]; 37 }; 38}