Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, django, fetchFromGitHub, hatch-vcs, hatchling, python, pythonOlder,}:
buildPythonPackage rec { pname = "django-pwa"; version = "2.0.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "silviolleite"; repo = "django-pwa"; tag = version; hash = "sha256-EAjDK3rkjoPw8jyVVZdhMNHmTqr0/ERiMwGMxmVbsls="; };
build-system = [ hatch-vcs hatchling ];
dependencies = [ django ];
pythonImportsCheck = [ "pwa" ];
checkPhase = '' runHook preCheck ${python.interpreter} runtests.py runHook postCheck '';
meta = with lib; { description = "Django app to include a manifest.json and Service Worker instance to enable progressive web app behavior"; homepage = "https://github.com/silviolleite/django-pwa"; changelog = "https://github.com/silviolleite/django-pwa/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ derdennisop ]; };}