blob: fa9067fa0fee7d416187fe506c382d61c46f7b39 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
};
}
|