2021-06-10 02:57:09 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib, gtk2, libjack2, libuuid, libxml2
|
2021-01-19 06:50:56 +00:00
|
|
|
, makeWrapper, pkg-config, readline }:
|
2011-05-04 12:52:46 +00:00
|
|
|
|
|
|
|
assert libuuid != null;
|
2011-04-23 00:22:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "lash";
|
2011-04-23 00:22:40 +00:00
|
|
|
version = "0.5.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://savannah/lash/${pname}-${version}.tar.gz";
|
2011-04-23 00:22:40 +00:00
|
|
|
sha256 = "05kc4brcx8mncai0rj2gz4s4bsrsy9q8xlnaddf75i0m8jl7snhh";
|
|
|
|
};
|
|
|
|
|
2013-02-23 20:12:24 +00:00
|
|
|
# http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/822346
|
|
|
|
patches = [ ./socket.patch ./gcc-47.patch ];
|
2011-04-23 00:22:40 +00:00
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ pkg-config makeWrapper ];
|
2021-06-10 02:57:09 +00:00
|
|
|
buildInputs = [ alsa-lib gtk2 libjack2 libxml2 readline ];
|
2015-10-22 19:12:52 +00:00
|
|
|
propagatedBuildInputs = [ libuuid ];
|
2019-10-30 02:23:29 +00:00
|
|
|
NIX_LDFLAGS = "-lm -lpthread -luuid";
|
2011-04-23 00:22:40 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
for i in lash_control lash_panel
|
|
|
|
do wrapProgram "$out/bin/$i" --prefix LD_LIBRARY_PATH ":" "${libuuid}/lib"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-03-16 11:08:26 +00:00
|
|
|
description = "Linux Audio Session Handler";
|
2011-04-23 00:22:40 +00:00
|
|
|
longDescription = ''
|
2011-05-04 12:52:46 +00:00
|
|
|
Session management system for GNU/Linux audio applications.
|
2011-04-23 00:22:40 +00:00
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.nongnu.org/lash";
|
2011-04-23 00:22:40 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2024-07-24 09:22:12 +00:00
|
|
|
maintainers = [ ];
|
2011-04-23 00:22:40 +00:00
|
|
|
};
|
|
|
|
}
|