5 # documentation build dependencies
10 # runtime dependencies
17 buildPythonPackage rec {
18 pname = "sphinx-codeautolink";
22 outputs = [ "out" "doc" ];
24 src = fetchFromGitHub {
25 owner = "felix-hilden";
26 repo = "sphinx-codeautolink";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-iXUdOwyTRViDTDRPCcteiJ2Rcdbpiol7JPEzqbUwIPc=";
39 sphinxRoot = "docs/src";
41 propagatedBuildInputs = [ sphinx beautifulsoup4 ];
43 nativeCheckInputs = [ pytest ];
45 pythonImportsCheck = [ "sphinx_codeautolink" ];
48 description = "A sphinx extension that makes code examples clickable";
49 homepage = "https://github.com/felix-hilden/sphinx-codeautolink";
50 license = licenses.mit;
51 maintainers = with maintainers; [ kaction ];