depot/third_party/nixpkgs/pkgs/development/python-modules/blinkpy/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

47 lines
884 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, python-dateutil
, python-slugify
, requests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "blinkpy";
version = "0.18.0";
src = fetchFromGitHub {
owner = "fronzbot";
repo = "blinkpy";
rev = "v${version}";
hash = "sha256-96HoGXVQE5PbUbu0oDOC0es0HXYig4ScTeexiUhGse4=";
};
propagatedBuildInputs = [
python-dateutil
python-slugify
requests
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"blinkpy"
"blinkpy.api"
"blinkpy.auth"
"blinkpy.blinkpy"
"blinkpy.camera"
"blinkpy.helpers.util"
"blinkpy.sync_module"
];
meta = with lib; {
description = "Python library for the Blink Camera system";
homepage = "https://github.com/fronzbot/blinkpy";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}