File tree Expand file tree Collapse file tree 3 files changed +57
-1
lines changed
development/python-modules/numato-gpio Expand file tree Collapse file tree 3 files changed +57
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ hatchling ,
6+ pyserial ,
7+ rich ,
8+ pytestCheckHook ,
9+ } :
10+
11+ buildPythonPackage rec {
12+ pname = "numato-gpio" ;
13+ version = "0.14.0" ;
14+ pyproject = true ;
15+
16+ src = fetchFromGitHub {
17+ owner = "clssn" ;
18+ repo = "numato-gpio" ;
19+ tag = "v${ version } " ;
20+ hash = "sha256-9kbPEtJOQhCxYh8cjyCAufV63mV7ZF1x7CdUyJLfqII=" ;
21+ } ;
22+
23+ build-system = [
24+ hatchling
25+ ] ;
26+
27+ dependencies = [
28+ pyserial
29+ rich
30+ ] ;
31+
32+ nativeCheckInputs = [
33+ pytestCheckHook
34+ ] ;
35+
36+ disabledTests = [
37+ # Exclude system tests that require hardware
38+ "sys_tests"
39+ ] ;
40+
41+ pythonImportsCheck = [
42+ "numato_gpio"
43+ ] ;
44+
45+ meta = {
46+ description = "Python API for Numato GPIO Expanders" ;
47+ homepage = "https://github.com/clssn/numato-gpio" ;
48+ changelog = "https://github.com/clssn/numato-gpio/releases/tag/${ src . tag } " ;
49+ license = lib . licenses . mit ;
50+ maintainers = [ lib . maintainers . jamiemagee ] ;
51+ } ;
52+ }
Original file line number Diff line number Diff line change 40704070 ] ;
40714071 "numato" =
40724072 ps : with ps ; [
4073- ] ; # missing inputs: numato-gpio
4073+ numato-gpio
4074+ ] ;
40744075 "number" =
40754076 ps : with ps ; [
40764077 ] ;
74837484 "ntfy"
74847485 "nuheat"
74857486 "nuki"
7487+ "numato"
74867488 "number"
74877489 "nut"
74887490 "nws"
Original file line number Diff line number Diff line change @@ -10581,6 +10581,8 @@ self: super: with self; {
1058110581
1058210582 num2words = callPackage ../development/python-modules/num2words { };
1058310583
10584+ numato-gpio = callPackage ../development/python-modules/numato-gpio { };
10585+
1058410586 numba = callPackage ../development/python-modules/numba { inherit (pkgs.config) cudaSupport; };
1058510587
1058610588 numba-scipy = callPackage ../development/python-modules/numba-scipy { };
You can’t perform that action at this time.
0 commit comments