-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109565 from HolgerPeters/master
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
pkgs/development/python-modules/sphinx-autobuild/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ lib | ||
, stdenv | ||
, buildPythonPackage | ||
, fetchPypi | ||
, sphinx | ||
, livereload | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "sphinx-autobuild"; | ||
version = "2020.9.1"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1vbaf4vrxahylyp8zrlw5dx1d2faajp926c3pl5i1wlkp1yll62b"; | ||
}; | ||
|
||
propagatedBuildInputs = [ sphinx livereload ]; | ||
|
||
# No tests included. | ||
doCheck = false; | ||
pythonImportsCheck = [ "sphinx_autobuild" ]; | ||
|
||
meta = with lib; { | ||
description = "Rebuild Sphinx documentation on changes, with live-reload in the browser"; | ||
homepage = "https://github.com/executablebooks/sphinx-autobuild"; | ||
license = with licenses; [ mit ]; | ||
maintainer = with maintainers; [holgerpeters]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters