infrastructure/machines/web02/cas-eleves/packages/django-browser-reload/default.nix
Tom Hubrecht 325e24f5f6
Some checks failed
build configuration / build_storage01 (push) Successful in 1m12s
build configuration / build_compute01 (push) Successful in 1m18s
build configuration / build_vault01 (push) Successful in 1m17s
build configuration / build_web02 (push) Failing after 1m22s
build configuration / build_web01 (push) Successful in 1m33s
lint / check (push) Successful in 26s
build configuration / build_rescue01 (push) Successful in 54s
build configuration / push_to_cache (push) Has been skipped
feat(cas-eleves): Update to latest version
2024-07-03 14:56:46 +02:00

42 lines
900 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
asgiref,
django,
}:
buildPythonPackage rec {
pname = "django-browser-reload";
version = "1.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "adamchainz";
repo = "django-browser-reload";
rev = version;
hash = "sha256-IDIkAl6YYI3isDvpzCtAu4fLSr2gbjEvVW+K1WBDPbo=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
asgiref
django
];
pythonImportsCheck = [ "django_browser_reload" ];
meta = with lib; {
description = "Automatically reload your browser in development";
homepage = "https://github.com/adamchainz/django-browser-reload";
changelog = "https://github.com/adamchainz/django-browser-reload/blob/${src.rev}/CHANGELOG.rst";
license = licenses.mit;
maintainers = [ ]; # with maintainers; [ thubrecht ];
};
}