Merge pull request #146808 from fabaff/life360

python3Packages.life360: init at 4.1.1
This commit is contained in:
Fabian Affolter 2021-11-22 09:43:46 +01:00 committed by GitHub
commit 31d68d0482
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 1 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

@ -452,7 +452,7 @@
"lcn" = ps: with ps; [ pypck ];
"lg_netcast" = ps: with ps; [ pylgnetcast ];
"lg_soundbar" = ps: with ps; [ ]; # missing inputs: temescal
"life360" = ps: with ps; [ ]; # missing inputs: life360
"life360" = ps: with ps; [ life360 ];
"lifx" = ps: with ps; [ aiolifx aiolifx-effects ];
"lifx_cloud" = ps: with ps; [ ];
"light" = ps: with ps; [ ];

View file

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