mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
35 lines
898 B
Nix
35 lines
898 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
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
|
|
|
postInstall = "";
|
|
|
|
meta = with lib; {
|
|
description = "";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|