mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
bc9e441d6a
Diff: https://github.com/Kane610/deconz/compare/refs/tags/v107...v108 Changelog: https://github.com/Kane610/deconz/releases/tag/v108
51 lines
963 B
Nix
51 lines
963 B
Nix
{ lib
|
|
, aiohttp
|
|
, aioresponses
|
|
, async-timeout
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, orjson
|
|
, pytest-aiohttp
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydeconz";
|
|
version = "108";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Kane610";
|
|
repo = "deconz";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-CPFkfVwvk0AO/DoE1Nj1jLdLvuOpRzndmRK/M6SSGtk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
async-timeout
|
|
orjson
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-aiohttp
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pydeconz"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python library wrapping the Deconz REST API";
|
|
homepage = "https://github.com/Kane610/deconz";
|
|
changelog = "https://github.com/Kane610/deconz/releases/tag/v${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|