Something went wrong. Try again.
lol
Something went wrong. Try again.
938 B · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ 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 ]; };}