Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 47 lines 988 B view raw
1{ 2 fetchFromGitHub, 3 lib, 4 stdenv, 5 autoreconfHook, 6 intltool, 7 pkg-config, 8 gtk3, 9 alsa-lib, 10 gettext, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "volumeicon"; 15 version = "0.5.1"; 16 17 src = fetchFromGitHub { 18 owner = "Maato"; 19 repo = "volumeicon"; 20 rev = version; 21 hash = "sha256-zYKC7rOoLf08rV4B43TrGNBcXfSBFxWZCe9bQD9JzaA"; 22 }; 23 24 nativeBuildInputs = [ 25 autoreconfHook 26 intltool 27 pkg-config 28 ]; 29 30 buildInputs = [ 31 gtk3 32 alsa-lib 33 ]; 34 35 # Work around regressions introduced by bad interaction between 36 # gettext >= 0.25 and autoconf (2.72 at the time of writing). 37 env.ACLOCAL = "aclocal -I ${gettext}/share/gettext/m4"; 38 39 meta = with lib; { 40 description = "Lightweight volume control that sits in your systray"; 41 homepage = "https://nullwise.com/pages/volumeicon/volumeicon.html"; 42 platforms = platforms.linux; 43 maintainers = with maintainers; [ bobvanderlinden ]; 44 license = licenses.gpl3; 45 mainProgram = "volumeicon"; 46 }; 47}