From 9a7887ca6545e2713f64af32c4a4bb8b929b7954 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Mar 2025 13:00:36 +0100 Subject: [PATCH] python313Packages.django-pwa: update build-system --- .../python-modules/django-pwa/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/django-pwa/default.nix b/pkgs/development/python-modules/django-pwa/default.nix index 990beca0ce5a83..9bf8ddb51e4003 100644 --- a/pkgs/development/python-modules/django-pwa/default.nix +++ b/pkgs/development/python-modules/django-pwa/default.nix @@ -3,9 +3,10 @@ buildPythonPackage, django, fetchFromGitHub, + hatch-vcs, + hatchling, python, pythonOlder, - setuptools, }: buildPythonPackage rec { @@ -22,9 +23,12 @@ buildPythonPackage rec { hash = "sha256-EAjDK3rkjoPw8jyVVZdhMNHmTqr0/ERiMwGMxmVbsls="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ + hatch-vcs + hatchling + ]; - propagatedBuildInputs = [ django ]; + dependencies = [ django ]; pythonImportsCheck = [ "pwa" ]; @@ -35,7 +39,7 @@ buildPythonPackage rec { ''; meta = with lib; { - description = "Django app to include a manifest.json and Service Worker instance to enable progressive web app behavoir"; + 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;