mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
43 lines
810 B
Nix
43 lines
810 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, mock
|
|
, pytestCheckHook
|
|
, requests
|
|
, requests-mock
|
|
, sseclient-py
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyarlo";
|
|
version = "0.2.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tchellomello";
|
|
repo = "python-arlo";
|
|
rev = version;
|
|
sha256 = "0pp7y2llk4xnf6zh57j5xas0gw5zqm42qaqssd8p4qa3g5rds8k3";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
sseclient-py
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
mock
|
|
requests-mock
|
|
];
|
|
|
|
pythonImportsCheck = [ "pyarlo" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library to work with Netgear Arlo cameras";
|
|
homepage = "https://github.com/tchellomello/python-arlo";
|
|
license = with licenses; [ lgpl3Plus ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|