nixpkgs/pkgs/tools/audio/pasystray/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchpatch, fetchFromGitHub, pkg-config, autoreconfHook, wrapGAppsHook
, gnome, avahi, gtk3, libayatana-appindicator, libnotify, libpulseaudio
, xlibsWrapper, gsettings-desktop-schemas
}:
2014-11-07 12:01:11 +00:00
stdenv.mkDerivation rec {
pname = "pasystray";
2019-01-04 20:03:44 +00:00
version = "0.7.1";
2014-11-07 12:01:11 +00:00
2015-05-25 21:12:38 +00:00
src = fetchFromGitHub {
owner = "christophgysin";
repo = "pasystray";
rev = "${pname}-${version}";
2019-01-04 20:03:44 +00:00
sha256 = "0xx1bm9kimgq11a359ikabdndqg5q54pn1d1dyyjnrj0s41168fk";
2014-11-07 12:01:11 +00:00
};
patches = [
# https://github.com/christophgysin/pasystray/issues/90#issuecomment-306190701
./fix-wayland.patch
# https://github.com/christophgysin/pasystray/issues/98
(fetchpatch {
url = "https://sources.debian.org/data/main/p/pasystray/0.7.1-1/debian/patches/0001-Build-against-ayatana-appindicator.patch";
sha256 = "0hijphrf52n2zfwdnrmxlp3a7iwznnkb79awvpzplz0ia2lqywpw";
})
];
nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook ];
buildInputs = [
gnome.adwaita-icon-theme
avahi gtk3 libayatana-appindicator libnotify libpulseaudio xlibsWrapper
gsettings-desktop-schemas
];
2014-11-07 12:01:11 +00:00
meta = with lib; {
2014-11-07 12:01:11 +00:00
description = "PulseAudio system tray";
homepage = "https://github.com/christophgysin/pasystray";
2014-11-07 12:44:40 +00:00
license = licenses.lgpl21Plus;
2017-01-24 06:18:15 +00:00
maintainers = with maintainers; [ exlevan kamilchm ];
platforms = platforms.linux;
2014-11-07 12:01:11 +00:00
};
}