nixpkgs-suyu/pkgs/development/python-modules/livereload/default.nix

35 lines
663 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2017-10-01 12:00:26 +02:00
, fetchFromGitHub
, nose
, django
, tornado
, six
2017-10-01 12:00:26 +02:00
, pytest
}:
buildPythonPackage rec {
pname = "livereload";
version = "2.5.1";
2017-10-01 12:00:26 +02:00
src = fetchFromGitHub {
owner = "lepture";
repo = "python-livereload";
rev = "v${version}";
sha256 = "1irs59wqmffp8q4l9fh7givs05mamlgm5n7ga49gwxp5imwrdzba";
};
buildInputs = [ nose django ];
propagatedBuildInputs = [ tornado six ];
2017-10-01 12:00:26 +02:00
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;
};
}