python3Packages.kiosker-python-api: init at 1.2.9
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 ];
|
||||
};
|
||||
})
|
||||
@@ -8369,6 +8369,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