nixpkgs/pkgs/tools/audio/pa-applet/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

36 lines
933 B
Nix

{ lib, stdenv, fetchFromGitHub, libpulseaudio, pkg-config, gtk3, glibc, autoconf, automake, libnotify, libX11, xf86inputevdev }:
stdenv.mkDerivation {
pname = "pa-applet";
version = "unstable-2012-04-11";
src = fetchFromGitHub {
owner = "fernandotcl";
repo = "pa-applet";
rev = "005f192df9ba6d2e6491f9aac650be42906b135a";
sha256 = "sha256-ihvZFXHgr5YeqMKmVY/GB86segUkQ9BYqJYfE3PTgog=";
};
nativeBuildInputs = [ pkg-config autoconf automake ];
buildInputs = [
gtk3 libpulseaudio glibc libnotify libX11 xf86inputevdev
];
preConfigure = ''
./autogen.sh
'';
# work around a problem related to gtk3 updates
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
postInstall = "";
meta = with lib; {
description = "";
mainProgram = "pa-applet";
license = licenses.gpl2;
maintainers = with maintainers; [ domenkozar ];
platforms = platforms.linux;
};
}