nixpkgs/pkgs/tools/audio/pa-applet/default.nix

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

35 lines
902 B
Nix
Raw Normal View History

2022-03-29 11:04:42 +00:00
{ lib, stdenv, fetchFromGitHub, libpulseaudio, pkg-config, gtk3, glibc, autoconf, automake, libnotify, libX11, xf86inputevdev }:
2013-05-05 21:09:46 +00:00
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
2021-08-12 19:47:47 +00:00
pname = "pa-applet";
version = "unstable-2012-04-11";
2013-05-05 21:09:46 +00:00
2022-03-29 11:04:42 +00:00
src = fetchFromGitHub {
owner = "fernandotcl";
repo = "pa-applet";
2013-05-05 21:09:46 +00:00
rev = "005f192df9ba6d2e6491f9aac650be42906b135a";
2022-03-29 11:04:42 +00:00
sha256 = "sha256-ihvZFXHgr5YeqMKmVY/GB86segUkQ9BYqJYfE3PTgog=";
2013-05-05 21:09:46 +00:00
};
nativeBuildInputs = [ pkg-config autoconf automake ];
2013-05-05 21:09:46 +00:00
buildInputs = [
gtk3 libpulseaudio glibc libnotify libX11 xf86inputevdev
2013-05-05 21:09:46 +00:00
];
preConfigure = ''
./autogen.sh
'';
# work around a problem related to gtk3 updates
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
postInstall = "";
2013-05-05 21:09:46 +00:00
meta = with lib; {
2013-05-05 21:09:46 +00:00
description = "";
license = licenses.gpl2;
maintainers = with maintainers; [ domenkozar ];
2013-05-05 21:09:46 +00:00
platforms = platforms.linux;
};
}