Loading pkgs/development/python-modules/numato-gpio/default.nix 0 → 100644 +52 −0 Original line number Diff line number Diff line { 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 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10577,6 +10577,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 { }; Loading Loading
pkgs/development/python-modules/numato-gpio/default.nix 0 → 100644 +52 −0 Original line number Diff line number Diff line { 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 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10577,6 +10577,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 { }; Loading