From 9f0356ca43a006dc06363991237fc363314641f7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Sep 2025 11:00:31 +0200 Subject: [PATCH] python313Packages.pyrituals:: modernize --- .../python-modules/pyrituals/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pyrituals/default.nix b/pkgs/development/python-modules/pyrituals/default.nix index 1a4d47a45f33..e883586840fe 100644 --- a/pkgs/development/python-modules/pyrituals/default.nix +++ b/pkgs/development/python-modules/pyrituals/default.nix @@ -3,35 +3,35 @@ aiohttp, buildPythonPackage, fetchFromGitHub, - pythonOlder, setuptools, }: buildPythonPackage rec { pname = "pyrituals"; version = "0.0.7"; - format = "pyproject"; - disabled = pythonOlder "3.8"; + pyproject = true; src = fetchFromGitHub { owner = "milanmeu"; repo = "pyrituals"; - rev = version; - sha256 = "sha256-nCyfwOONtpwRLFq3crRacmrWef6J3mOfKz4fvkOcb3g="; + tag = version; + hash = "sha256-nCyfwOONtpwRLFq3crRacmrWef6J3mOfKz4fvkOcb3g="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ aiohttp ]; + dependencies = [ aiohttp ]; # Project has no tests doCheck = false; + pythonImportsCheck = [ "pyrituals" ]; meta = with lib; { description = "Python wrapper for the Rituals Perfume Genie API"; homepage = "https://github.com/milanmeu/pyrituals"; - license = with licenses; [ mit ]; + changelog = "https://github.com/milanmeu/pyrituals/releases/tag/${src.tag}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }