mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
pasystray: 0.7.0 -> 0.7.1, cleanup
This commit is contained in:
parent
1a7d28e31f
commit
16a0eba3f4
1 changed files with 5 additions and 17 deletions
|
@ -1,38 +1,26 @@
|
|||
{ stdenv, fetchFromGitHub, autoconf, automake, makeWrapper, pkgconfig
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, wrapGAppsHook
|
||||
, gnome3, avahi, gtk3, libappindicator-gtk3, libnotify, libpulseaudio
|
||||
, xlibsWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pasystray-${version}";
|
||||
version = "0.7.0";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "christophgysin";
|
||||
repo = "pasystray";
|
||||
rev = name;
|
||||
sha256 = "0cc9hjyw4gr4ip4lw74pzb1l9sxs3ffhf0xn0m1fhmyfbjyixwkh";
|
||||
sha256 = "0xx1bm9kimgq11a359ikabdndqg5q54pn1d1dyyjnrj0s41168fk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook wrapGAppsHook ];
|
||||
buildInputs = [
|
||||
autoconf automake makeWrapper
|
||||
gnome3.defaultIconTheme
|
||||
avahi gtk3 libappindicator-gtk3 libnotify libpulseaudio xlibsWrapper
|
||||
gnome3.gsettings-desktop-schemas
|
||||
];
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue