Merge pull request #146808 from fabaff/life360
python3Packages.life360: init at 4.1.1
This commit is contained in:
commit
31d68d0482
3 changed files with 43 additions and 1 deletions
40
pkgs/development/python-modules/life360/default.nix
Normal file
40
pkgs/development/python-modules/life360/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -452,7 +452,7 @@
|
||||||
"lcn" = ps: with ps; [ pypck ];
|
"lcn" = ps: with ps; [ pypck ];
|
||||||
"lg_netcast" = ps: with ps; [ pylgnetcast ];
|
"lg_netcast" = ps: with ps; [ pylgnetcast ];
|
||||||
"lg_soundbar" = ps: with ps; [ ]; # missing inputs: temescal
|
"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" = ps: with ps; [ aiolifx aiolifx-effects ];
|
||||||
"lifx_cloud" = ps: with ps; [ ];
|
"lifx_cloud" = ps: with ps; [ ];
|
||||||
"light" = ps: with ps; [ ];
|
"light" = ps: with ps; [ ];
|
||||||
|
|
|
@ -4444,6 +4444,8 @@ in {
|
||||||
inherit python;
|
inherit python;
|
||||||
})).py;
|
})).py;
|
||||||
|
|
||||||
|
life360 = callPackage ../development/python-modules/life360 { };
|
||||||
|
|
||||||
lightgbm = callPackage ../development/python-modules/lightgbm { };
|
lightgbm = callPackage ../development/python-modules/lightgbm { };
|
||||||
|
|
||||||
lightning = callPackage ../development/python-modules/lightning { };
|
lightning = callPackage ../development/python-modules/lightning { };
|
||||||
|
|
Loading…
Reference in a new issue