python3Packages.life360: init at 4.1.1

This commit is contained in:
Fabian Affolter 2021-11-20 22:40:48 +01:00
parent 293e6f0ce5
commit 7f1b902bf9
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "life360";
version = "4.1.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pnbruckner";
repo = pname;
rev = "v${version}";
sha256 = "v+j0DBWQb1JdOu+uxJAdWhzef5zB62z+NSQ+WxpsinA=";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"life360"
];
meta = with lib; {
description = "Python module to interact with Life360";
homepage = "https://github.com/pnbruckner/life360";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -4430,6 +4430,8 @@ in {
inherit python;
})).py;
life360 = callPackage ../development/python-modules/life360 { };
lightgbm = callPackage ../development/python-modules/lightgbm { };
lightning = callPackage ../development/python-modules/lightning { };