nixpkgs/pkgs/tools/audio/pasystray/default.nix
Michael Alan Dorman fb655dce4c Fix SHA for pasystray.
I presume there's something about how github creates the .zip files such
that they can change SHA.

Please note: this is a very outdated version of pasystray---I don't know
if that's intentional, but perhaps a better strategy would be to update
it wholesale.
2015-05-25 17:13:37 -04:00

36 lines
1010 B
Nix

{stdenv, fetchurl, unzip, autoconf, automake, makeWrapper, pkgconfig
, gnome3, avahi, gtk3, libnotify, pulseaudio, x11}:
stdenv.mkDerivation rec {
name = "pasystray-0.4.0";
src = fetchurl {
url = "https://github.com/christophgysin/pasystray/archive/${name}.zip";
sha256 = "0n41qm04kilhc827yx8y1ijslmajg2dxykaf3s3aq6s6bjzzw8bh";
};
buildInputs = [ unzip autoconf automake makeWrapper pkgconfig
gnome3.defaultIconTheme
avahi gtk3 libnotify pulseaudio x11 ];
preConfigure = ''
aclocal
autoconf
autoheader
automake --add-missing
'';
preFixup = ''
wrapProgram "$out/bin/pasystray" \
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share:$GSETTINGS_SCHEMAS_PATH"
'';
meta = with stdenv.lib; {
description = "PulseAudio system tray";
homepage = "https://github.com/christophgysin/pasystray";
license = licenses.lgpl21Plus;
maintainers = [ maintainers.exlevan ];
platfoms = platforms.linux;
};
}