1{ fetchFromGitHub, lib, stdenv
2, autoreconfHook, intltool, pkg-config
3, gtk3, alsa-lib
4}:
5
6stdenv.mkDerivation rec {
7 pname = "volumeicon";
8 version = "0.5.1";
9
10 src = fetchFromGitHub {
11 owner = "Maato";
12 repo = "volumeicon";
13 rev = version;
14 hash = "sha256-zYKC7rOoLf08rV4B43TrGNBcXfSBFxWZCe9bQD9JzaA";
15 };
16
17 nativeBuildInputs = [
18 autoreconfHook
19 intltool
20 pkg-config
21 ];
22
23 buildInputs = [
24 gtk3
25 alsa-lib
26 ];
27
28 meta = with lib; {
29 description = "A lightweight volume control that sits in your systray";
30 homepage = "http://nullwise.com/volumeicon.html";
31 platforms = platforms.linux;
32 maintainers = with maintainers; [ bobvanderlinden ];
33 license = licenses.gpl3;
34 };
35}
36