depot/third_party/nixpkgs/pkgs/development/python-modules/livereload/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

35 lines
757 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, django
, tornado
, six
}:
buildPythonPackage rec {
pname = "livereload";
version = "2.6.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "lepture";
repo = "python-livereload";
rev = version;
sha256 = "1alp83h3l3771l915jqa1ylyllad7wxnmblayan0z0zj37jkp9n7";
};
buildInputs = [ django ];
propagatedBuildInputs = [ tornado six ];
nativeCheckInputs = [ nose ];
# TODO: retry running all tests after v2.6.1
checkPhase = "NOSE_EXCLUDE=test_watch_multiple_dirs nosetests -s";
meta = {
description = "Runs a local server that reloads as you develop";
homepage = "https://github.com/lepture/python-livereload";
license = lib.licenses.bsd3;
};
}