1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 sphinx, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "sphinxcontrib-programoutput"; 12 version = "0.18"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "NextThought"; 17 repo = "sphinxcontrib-programoutput"; 18 tag = version; 19 hash = "sha256-WI4R96G4cYYTxTwW4dKAayUNQyhVSrjhdWJyy8nZBUk="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 buildInputs = [ sphinx ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "sphinxcontrib.programoutput" ]; 29 30 pythonNamespaces = [ "sphinxcontrib" ]; 31 32 meta = with lib; { 33 description = "Sphinx extension to include program output"; 34 homepage = "https://github.com/NextThought/sphinxcontrib-programoutput"; 35 license = licenses.bsd2; 36 maintainers = [ ]; 37 }; 38}