1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, sphinxHook
5, sphinx
6}:
7
8buildPythonPackage rec {
9 pname = "sphinx-prompt";
10 version = "1.5.0";
11
12 src = fetchFromGitHub {
13 owner = "sbrunner";
14 repo = "sphinx-prompt";
15 rev = version;
16 hash = "sha256-ClUPAIyPrROJw4GXeakA8U443Vlhy3P/2vFnAtyrPHU=";
17 };
18
19 propagatedBuildInputs = [ sphinx ];
20
21 meta = with lib; {
22 description = "A sphinx extension for creating unselectable prompt";
23 homepage = "https://github.com/sbrunner/sphinx-prompt";
24 license = licenses.bsd3;
25 maintainers = with maintainers; [ kaction ];
26 };
27}