python3Packages.numato-gpio: init at 0.14.0 (#435189)

This commit is contained in:
Martin Weinelt
2025-08-28 22:08:40 +02:00
committed by GitHub
3 changed files with 57 additions and 1 deletions
@@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pyserial,
rich,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "numato-gpio";
version = "0.14.0";
pyproject = true;
src = fetchFromGitHub {
owner = "clssn";
repo = "numato-gpio";
tag = "v${version}";
hash = "sha256-9kbPEtJOQhCxYh8cjyCAufV63mV7ZF1x7CdUyJLfqII=";
};
build-system = [
hatchling
];
dependencies = [
pyserial
rich
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# Exclude system tests that require hardware
"sys_tests"
];
pythonImportsCheck = [
"numato_gpio"
];
meta = {
description = "Python API for Numato GPIO Expanders";
homepage = "https://github.com/clssn/numato-gpio";
changelog = "https://github.com/clssn/numato-gpio/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
@@ -4070,7 +4070,8 @@
];
"numato" =
ps: with ps; [
]; # missing inputs: numato-gpio
numato-gpio
];
"number" =
ps: with ps; [
];
@@ -7483,6 +7484,7 @@
"ntfy"
"nuheat"
"nuki"
"numato"
"number"
"nut"
"nws"
+2
View File
@@ -10581,6 +10581,8 @@ self: super: with self; {
num2words = callPackage ../development/python-modules/num2words { };
numato-gpio = callPackage ../development/python-modules/numato-gpio { };
numba = callPackage ../development/python-modules/numba { inherit (pkgs.config) cudaSupport; };
numba-scipy = callPackage ../development/python-modules/numba-scipy { };