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 ]; }; }