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
|
|
|
};
|
|
|
|
|
2022-03-31 01:11:06 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoconf automake ];
|
2013-05-05 21:09:46 +00:00
|
|
|
buildInputs = [
|
2022-03-31 01:11:06 +00:00
|
|
|
gtk3 libpulseaudio glibc libnotify libX11 xf86inputevdev
|
2013-05-05 21:09:46 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2013-12-10 12:41:20 +00:00
|
|
|
# work around a problem related to gtk3 updates
|
2023-02-19 19:23:32 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
2013-12-10 12:41:20 +00:00
|
|
|
|
2021-01-24 09:19:10 +00:00
|
|
|
postInstall = "";
|
2013-05-05 21:09:46 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2013-05-05 21:09:46 +00:00
|
|
|
description = "";
|
|
|
|
license = licenses.gpl2;
|
2016-05-17 11:57:28 +00:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2013-05-05 21:09:46 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|