1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +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.

46 lines
816 B
Nix
Raw Normal View History

2021-03-23 00:08:39 +01:00
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
2021-04-29 09:40:29 +02:00
, pytest-aiohttp
2021-03-23 00:08:39 +01:00
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pydeconz";
2022-02-05 09:19:21 +01:00
version = "87";
2022-01-25 19:08:17 +01:00
format = "setuptools";
2021-03-23 00:08:39 +01:00
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Kane610";
repo = "deconz";
rev = "v${version}";
2022-02-05 09:19:21 +01:00
sha256 = "sha256-scNTHbUL8TOhkUJyib4cgL8A4gZ73asmFLi8aGw3sX8=";
2021-03-23 00:08:39 +01:00
};
propagatedBuildInputs = [
aiohttp
];
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 ];
};
}