nixpkgs-suyu/pkgs/applications/audio/lash/default.nix
Arnold Krille d39404bd98 lash: Add propagated build input
At least for jackmix to build successfully against jack2 (which doesn't use libuuid), the libuuid used by lash needs to be propagated build input.
2015-10-22 21:15:54 +02:00

38 lines
1.1 KiB
Nix

{ stdenv, fetchurl, alsaLib, gtk, libjack2, libuuid, libxml2
, makeWrapper, pkgconfig, readline }:
assert libuuid != null;
stdenv.mkDerivation rec {
name = "lash-${version}";
version = "0.5.4";
src = fetchurl {
url = "mirror://savannah/lash/${name}.tar.gz";
sha256 = "05kc4brcx8mncai0rj2gz4s4bsrsy9q8xlnaddf75i0m8jl7snhh";
};
# http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/822346
patches = [ ./socket.patch ./gcc-47.patch ];
buildInputs = [ alsaLib gtk libjack2 libxml2 makeWrapper
pkgconfig readline ];
propagatedBuildInputs = [ libuuid ];
postInstall = ''
for i in lash_control lash_panel
do wrapProgram "$out/bin/$i" --prefix LD_LIBRARY_PATH ":" "${libuuid}/lib"
done
'';
meta = with stdenv.lib; {
description = "A Linux Audio Session Handler";
longDescription = ''
Session management system for GNU/Linux audio applications.
'';
homepage = http://www.nongnu.org/lash;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.goibhniu ];
};
}