1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-05 23:32:35 +03:00
nixpkgs/pkgs/development/python-modules/pydeconz/default.nix

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

50 lines
879 B
Nix
Raw Normal View History

2021-03-23 00:08:39 +01:00
{ lib
, aiohttp
, aioresponses
, async-timeout
2021-03-23 00:08:39 +01:00
, buildPythonPackage
, fetchFromGitHub
2022-07-06 22:17:29 +02:00
, orjson
2021-04-29 09:40:29 +02:00
, pytest-aiohttp
2021-03-23 00:08:39 +01:00
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pydeconz";
version = "106";
2022-01-25 19:08:17 +01:00
format = "setuptools";
disabled = pythonOlder "3.9";
2021-03-23 00:08:39 +01:00
src = fetchFromGitHub {
owner = "Kane610";
repo = "deconz";
2022-04-23 11:59:08 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-13of5ohz/hezlmGvSNqCu9QoOPKdPPtrhQHbxmG2/Do=";
2021-03-23 00:08:39 +01:00
};
propagatedBuildInputs = [
aiohttp
async-timeout
2022-07-06 22:17:29 +02:00
orjson
2021-03-23 00:08:39 +01:00
];
checkInputs = [
aioresponses
2021-04-29 09:40:29 +02:00
pytest-aiohttp
2021-03-23 00:08:39 +01:00
pytestCheckHook
];
2022-01-25 19:08:17 +01:00
pythonImportsCheck = [
"pydeconz"
];
2021-03-23 00:08:39 +01:00
meta = with lib; {
description = "Python library wrapping the Deconz REST API";
homepage = "https://github.com/Kane610/deconz";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}