tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
orbuculum: 2.0.0 -> 2.1.0
Alex Martens
2 years ago
1d750c36
366c42ff
+18
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
embedded
orbuculum
default.nix
+18
-2
pkgs/development/embedded/orbuculum/default.nix
···
1
1
{ lib
2
2
, stdenv
3
3
, fetchFromGitHub
4
4
+
, meson
5
5
+
, ninja
6
6
+
, pkg-config
4
7
, czmq
5
8
, libusb1
6
9
, ncurses
10
10
+
, SDL2
7
11
}:
8
12
9
13
stdenv.mkDerivation rec {
10
14
pname = "orbuculum";
11
11
-
version = "2.0.0";
15
15
+
version = "2.1.0";
12
16
13
17
src = fetchFromGitHub {
14
18
owner = "orbcode";
15
19
repo = pname;
16
20
rev = "V${version}";
17
17
-
sha256 = "sha256-aMMXfrBQQ9oOx17MUKmqe5vdTpxhBGM5mVfAel0y0a0=";
21
21
+
sha256 = "sha256-Ohcc8739W/EmDjOYhcMgzEPVhzbWrUYgsPLdy4qzxhY=";
18
22
};
19
23
24
24
+
prePatch = ''
25
25
+
substituteInPlace meson.build --replace \
26
26
+
"/etc/udev/rules.d" "$out/etc/udev/rules.d"
27
27
+
'';
28
28
+
29
29
+
nativeBuildInputs = [
30
30
+
meson
31
31
+
ninja
32
32
+
pkg-config
33
33
+
];
34
34
+
20
35
buildInputs = [
21
36
czmq
22
37
libusb1
23
38
ncurses
39
39
+
SDL2
24
40
];
25
41
26
42
installFlags = [