Files
nixpkgs/pkgs/development/python-modules/livereload/default.nix
T
Sandro Jäckel 31fada653b python312Packages.livereload: fix build by swapping nose with pytest
nose does not work with python 3.12.

Also added meta.maintainers for completeness
2024-02-12 21:00:22 +01:00

39 lines
753 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, pytestCheckHook
, 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 = [ pytestCheckHook ];
disabledTests = [
"test_watch_multiple_dirs"
];
meta = {
description = "Runs a local server that reloads as you develop";
homepage = "https://github.com/lepture/python-livereload";
license = lib.licenses.bsd3;
maintainers = with lib; [ ];
};
}