diff --git a/pkgs/development/python-modules/life360/default.nix b/pkgs/development/python-modules/life360/default.nix index 353eceb64dd0..d8774ff34453 100644 --- a/pkgs/development/python-modules/life360/default.nix +++ b/pkgs/development/python-modules/life360/default.nix @@ -5,31 +5,34 @@ fetchFromGitHub, pytestCheckHook, pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "life360"; version = "7.0.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "pnbruckner"; - repo = pname; + repo = "life360"; rev = "refs/tags/v${version}"; hash = "sha256-+fvzZ1IsPsXLTcfR7vrE4n1nF7CdvoL4BzDJMsDBZVY="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; - # Project has no tests + dependencies = [ aiohttp ]; + + # Module has no tests doCheck = false; pythonImportsCheck = [ "life360" ]; meta = with lib; { - description = "Python module to interact with Life360"; + description = "Module to interact with Life360"; homepage = "https://github.com/pnbruckner/life360"; changelog = "https://github.com/pnbruckner/life360/releases/tag/v${version}"; license = licenses.mit;