nixpkgs/pkgs/development/python-modules/life360/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
829 B
Nix
Raw Normal View History

2021-11-20 21:40:48 +00:00
{ lib
, aiohttp
2021-11-20 21:40:48 +00:00
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "life360";
version = "6.0.0";
2021-11-20 21:40:48 +00:00
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pnbruckner";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-GRQPH7fp8YkkCEpXtvgFxJO6VLFQK/PBaRe0Tfg3KdU=";
2021-11-20 21:40:48 +00:00
};
propagatedBuildInputs = [
aiohttp
2021-11-20 21:40:48 +00:00
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"life360"
];
meta = with lib; {
description = "Python module to interact with Life360";
homepage = "https://github.com/pnbruckner/life360";
changelog = "https://github.com/pnbruckner/life360/releases/tag/v${version}";
2021-11-20 21:40:48 +00:00
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}