mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #208811 from fabaff/pykaleidescape
This commit is contained in:
commit
c42947660e
51
pkgs/development/python-modules/pykaleidescape/default.nix
Normal file
51
pkgs/development/python-modules/pykaleidescape/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, dnspython
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pykaleidescape";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SteveEasley";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-KM/gtpsQ27QZz2uI1t/yVN5no0zp9LZag1duAJzK55g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
dnspython
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"kaleidescape"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires network access
|
||||
"test_resolve_succeeds"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for controlling Kaleidescape devices";
|
||||
homepage = "https://github.com/SteveEasley/pykaleidescape";
|
||||
changelog = "https://github.com/SteveEasley/pykaleidescape/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -1720,7 +1720,8 @@
|
||||
"kaiterra" = ps: with ps; [
|
||||
]; # missing inputs: kaiterra-async-client
|
||||
"kaleidescape" = ps: with ps; [
|
||||
]; # missing inputs: pykaleidescape
|
||||
pykaleidescape
|
||||
];
|
||||
"kankun" = ps: with ps; [
|
||||
];
|
||||
"keba" = ps: with ps; [
|
||||
@ -4381,6 +4382,7 @@
|
||||
"jewish_calendar"
|
||||
"juicenet"
|
||||
"justnimbus"
|
||||
"kaleidescape"
|
||||
"keenetic_ndms2"
|
||||
"kegtron"
|
||||
"keymitt_ble"
|
||||
|
@ -8061,6 +8061,8 @@ self: super: with self; {
|
||||
|
||||
pykakasi = callPackage ../development/python-modules/pykakasi { };
|
||||
|
||||
pykaleidescape = callPackage ../development/python-modules/pykaleidescape { };
|
||||
|
||||
pykdl = callPackage ../development/python-modules/pykdl { };
|
||||
|
||||
pykdtree = callPackage ../development/python-modules/pykdtree {
|
||||
|
Loading…
Reference in New Issue
Block a user