2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchzip, pkg-config, lv2, gtkmm2, boost }:
|
2020-05-25 21:13:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lv2-cpp-tools";
|
|
|
|
version = "1.0.5";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "http://deb.debian.org/debian/pool/main/l/lv2-c++-tools/lv2-c++-tools_${version}.orig.tar.bz2";
|
|
|
|
sha256 = "039bq7d7s2bhfcnlsfq0mqxr9a9iqwg5bwcpxfi24c6yl6krydsi";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -r 's,/bin/bash,${stdenv.shell},g' -i ./configure
|
|
|
|
sed -r 's,/sbin/ldconfig,ldconfig,g' -i ./Makefile.template
|
|
|
|
'';
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-05-25 21:13:39 +00:00
|
|
|
|
|
|
|
buildInputs = [ lv2 gtkmm2 boost ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-05-25 21:13:39 +00:00
|
|
|
homepage = "http://ll-plugins.nongnu.org/hacking.html";
|
|
|
|
description = "Tools and libraries that may come in handy when writing LV2 plugins in C++";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.michalrus ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|