tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
avizo: fix dependencies of helper scripts
wuyoli
2 years ago
cce4df23
e40b5250
+20
-9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
avizo
default.nix
+20
-9
pkgs/applications/misc/avizo/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub
2
2
-
, meson, ninja, pkg-config, vala
3
3
-
, gtk3, glib, gtk-layer-shell
4
4
-
, dbus, dbus-glib, librsvg
5
5
-
, gobject-introspection, gdk-pixbuf, wrapGAppsHook
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, meson
5
5
+
, ninja
6
6
+
, pkg-config
7
7
+
, vala
8
8
+
, gtk3
9
9
+
, glib
10
10
+
, gtk-layer-shell
11
11
+
, dbus
12
12
+
, dbus-glib
13
13
+
, librsvg
14
14
+
, gobject-introspection
15
15
+
, gdk-pixbuf
16
16
+
, wrapGAppsHook
17
17
+
, pamixer
18
18
+
, brightnessctl
6
19
}:
7
20
8
21
stdenv.mkDerivation rec {
···
21
34
buildInputs = [ dbus dbus-glib gdk-pixbuf glib gtk-layer-shell gtk3 librsvg ];
22
35
23
36
postInstall = ''
24
24
-
substituteInPlace "$out"/bin/volumectl \
25
25
-
--replace 'avizo-client' "$out/bin/avizo-client"
26
26
-
substituteInPlace "$out"/bin/lightctl \
27
27
-
--replace 'avizo-client' "$out/bin/avizo-client"
37
37
+
wrapProgram $out/bin/volumectl --suffix PATH : $out/bin:${lib.makeBinPath ([ pamixer ])}
38
38
+
wrapProgram $out/bin/lightctl --suffix PATH : $out/bin:${lib.makeBinPath ([ brightnessctl ])}
28
39
'';
29
40
30
41
meta = with lib; {