Merge pull request #29808 from kirelagin/mkdocs
mkdocs: Initialise at 0.16.3
This commit is contained in:
35
pkgs/development/python-modules/livereload/default.nix
Normal file
35
pkgs/development/python-modules/livereload/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, nose
|
||||
, django
|
||||
, tornado
|
||||
, six
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "livereload";
|
||||
version = "2.5.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lepture";
|
||||
repo = "python-livereload";
|
||||
rev = "v${version}";
|
||||
sha256 = "1irs59wqmffp8q4l9fh7givs05mamlgm5n7ga49gwxp5imwrdzba";
|
||||
};
|
||||
|
||||
buildInputs = [ nose django ];
|
||||
|
||||
propagatedBuildInputs = [ tornado six ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = "pytest tests";
|
||||
|
||||
meta = {
|
||||
description = "Runs a local server that reloads as you develop";
|
||||
homepage = "https://github.com/lepture/python-livereload";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user