mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
Merge pull request #258676 from dotlambda/blinkpy-0.22.0
python310Packages.blinkpy: use pyproject
This commit is contained in:
commit
07ed0f8b09
|
@ -6,16 +6,16 @@
|
|||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, python-slugify
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
, sortedcontainers
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blinkpy";
|
||||
version = "0.22.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
|
@ -26,6 +26,10 @@ buildPythonPackage rec {
|
|||
hash = "sha256-r8kf5L6bvtivqd9dSi8om1wIi8IHmipKFckNMPT515I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
|
@ -49,16 +53,10 @@ buildPythonPackage rec {
|
|||
"blinkpy.sync_module"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.10") [
|
||||
"test_download_video_exit"
|
||||
"test_parse_camera_not_in_list"
|
||||
"test_parse_downloaded_items"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for the Blink Camera system";
|
||||
homepage = "https://github.com/fronzbot/blinkpy";
|
||||
changelog = "https://github.com/fronzbot/blinkpy/releases/tag/v${version}";
|
||||
changelog = "https://github.com/fronzbot/blinkpy/blob/${src.rev}/CHANGES.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue