2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, alsaLib, gtk2, libjack2, libuuid, libxml2
|
2011-05-04 14:52:46 +02:00
|
|
|
, makeWrapper, pkgconfig, readline }:
|
|
|
|
|
|
|
|
assert libuuid != null;
|
2011-04-23 02:22:40 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lash-${version}";
|
|
|
|
version = "0.5.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://savannah/lash/${name}.tar.gz";
|
|
|
|
sha256 = "05kc4brcx8mncai0rj2gz4s4bsrsy9q8xlnaddf75i0m8jl7snhh";
|
|
|
|
};
|
|
|
|
|
2013-02-23 21:12:24 +01:00
|
|
|
# http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/822346
|
|
|
|
patches = [ ./socket.patch ./gcc-47.patch ];
|
2011-04-23 02:22:40 +02:00
|
|
|
|
2016-09-11 23:24:51 +02:00
|
|
|
buildInputs = [ alsaLib gtk2 libjack2 libxml2 makeWrapper
|
2011-04-23 02:22:40 +02:00
|
|
|
pkgconfig readline ];
|
2015-10-22 21:12:52 +02:00
|
|
|
propagatedBuildInputs = [ libuuid ];
|
2011-04-23 02:22:40 +02:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
for i in lash_control lash_panel
|
|
|
|
do wrapProgram "$out/bin/$i" --prefix LD_LIBRARY_PATH ":" "${libuuid}/lib"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-03-16 12:08:26 +01:00
|
|
|
description = "A Linux Audio Session Handler";
|
2011-04-23 02:22:40 +02:00
|
|
|
longDescription = ''
|
2011-05-04 14:52:46 +02:00
|
|
|
Session management system for GNU/Linux audio applications.
|
2011-04-23 02:22:40 +02:00
|
|
|
'';
|
|
|
|
homepage = http://www.nongnu.org/lash;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|