Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 25 lines 638 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, sphinx }: 2 3buildPythonPackage rec { 4 pname = "python_docs_theme"; 5 version = "2023.3.1"; 6 format = "flit"; 7 8 src = fetchFromGitHub { 9 owner = "python"; 10 repo = "python-docs-theme"; 11 rev = version; 12 sha256 = "sha256-WyO5Xc67k5ExB4eCFd17sZCBMaV5djle9BAM0tn5CPc="; 13 }; 14 15 propagatedBuildInputs = [ sphinx ]; 16 17 pythonImportsCheck = [ "python_docs_theme" ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/python/python-docs-theme"; 21 description = "Sphinx theme for CPython project"; 22 license = licenses.psfl; 23 maintainers = with maintainers; [ kaction ]; 24 }; 25}