forked from muka/nodered.snap
-
Notifications
You must be signed in to change notification settings - Fork 4
/
snapcraft.yaml
122 lines (119 loc) · 3.01 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
name: nodered
version: 0.14
summary: A visual tool for wiring the Internet of Things
description: Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways.
confinement: strict
grade: stable
apps:
red:
daemon: simple
command: bin/launch
plugs:
- network-bind
- network
- network-observe
- bluetooth-control
- pulseaudio
- camera
#slots:
#library-slot:
# content: library-dir
#interface: content
#write:
#- lib/flows
#- awscerts
parts:
red:
plugin: nodejs
stage-packages:
- gnustep-gui-runtime
node-packages:
- node-red
bluetooth:
plugin: nodejs
#after: [red]
stage-packages:
- libbluetooth-dev
- blueman
- bluez
- bluetooth
- libglib2.0-dev
- libudev-dev
node-packages:
- node-red-contrib-noble
- node-red-contrib-ble
- node-red-contrib-ble-uart
- node-red-contrib-bluetooth
- node-red-contrib-bluetooth-serial
- node-red-node-sensortag
- node-red-contrib-wii
filesets:
bluetoothmodules: [ -lib/node_modules/npm ]
stage: [ $bluetoothmodules ]
cloud:
plugin: nodejs
#after: [red]
build-packages:
- python
- make
- g++
stage-packages:
- gnustep-gui-runtime
#source: https://github.com/mectors/node-red-contrib-aws-iot.git
node-packages:
# hardcoded aws certs need to be fixed first
- node-red-contrib-aws-iot-hub
- node-red-contrib-azure-iot-hub
- node-red-node-openwhisk
- node-red-bluemix-nodes
- node-red-node-watson
- node-red-contrib-thingrest
- node-red-contrib-messagehub
- node-red-contrib-azure-table-storage
- node-red-contrib-azure-blob-storage
- node-red-contrib-aws-sdk
- node-red-contrib-hueplus
- node-red-node-aws
- node-red-contrib-ibm-watson-iot
- node-red-contrib-smartplug
filesets:
cloudmodules: [ -lib/node_modules/npm ]
stage: [ $cloudmodules ]
other:
plugin: nodejs
#after: [red]
build-packages:
- python
- make
- g++
stage-packages:
- gnustep-gui-runtime
node-packages:
- node-red-node-wemo
- node-red-contrib-twitter-stream
- node-red-contrib-samsung-tv
- node-red-contrib-chromecast
- node-red-contrib-kafka-producer
- node-red-contrib-foursquare-api
- node-red-contrib-play-audio
- node-red-contrib-hueplus
- node-red-contrib-say
- node-red-contrib-facebook
- node-red-contrib-statistics
- node-red-contrib-os
- node-red-contrib-modbus
filesets:
othermodules: [ -lib/node_modules/npm ]
stage: [ $othermodules ]
settings:
plugin: dump
source: settings
filesets:
settings:
- .
organize:
start.sh : bin/launch
snap:
- .
filesets:
all: [ . ]