python3Packages.kiosker-python-api: init at 1.2.9 (#518582)
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
httpx,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "kiosker-python-api";
|
||||
version = "1.2.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Top-North";
|
||||
repo = "kiosker-python";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-DGJ1lxi4pP4gyRWDpeUdyPGCKQmzpRaWw8bwHrFUKF0=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [ httpx ];
|
||||
|
||||
# Tests require a live Kiosker device (HOST/TOKEN env vars).
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "kiosker" ];
|
||||
|
||||
meta = {
|
||||
description = "Python wrapper for the Kiosker API";
|
||||
homepage = "https://github.com/Top-North/kiosker-python";
|
||||
changelog = "https://github.com/Top-North/kiosker-python/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -3252,7 +3252,8 @@
|
||||
];
|
||||
"kiosker" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: kiosker-python-api
|
||||
kiosker-python-api
|
||||
];
|
||||
"kira" =
|
||||
ps: with ps; [
|
||||
pykira
|
||||
@@ -7919,6 +7920,7 @@
|
||||
"keenetic_ndms2"
|
||||
"kegtron"
|
||||
"keymitt_ble"
|
||||
"kiosker"
|
||||
"kira"
|
||||
"kitchen_sink"
|
||||
"kmtronic"
|
||||
|
||||
@@ -8373,6 +8373,8 @@ self: super: with self; {
|
||||
|
||||
kinparse = callPackage ../development/python-modules/kinparse { };
|
||||
|
||||
kiosker-python-api = callPackage ../development/python-modules/kiosker-python-api { };
|
||||
|
||||
kiss-headers = callPackage ../development/python-modules/kiss-headers { };
|
||||
|
||||
kitchen = callPackage ../development/python-modules/kitchen { };
|
||||
|
||||
Reference in New Issue
Block a user