mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
f9fdf2d402
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
35 lines
902 B
Nix
35 lines
902 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 = "";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|