mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
python3Packages.life360: init at 4.1.1
This commit is contained in:
parent
293e6f0ce5
commit
7f1b902bf9
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user