1{
2 lib,
3 stdenv,
4 fetchzip,
5 pkg-config,
6 lv2,
7 gtkmm2,
8 boost,
9}:
10
11stdenv.mkDerivation rec {
12 pname = "lv2-cpp-tools";
13 version = "1.0.5";
14
15 src = fetchzip {
16 url = "http://deb.debian.org/debian/pool/main/l/lv2-c++-tools/lv2-c++-tools_${version}.orig.tar.bz2";
17 sha256 = "039bq7d7s2bhfcnlsfq0mqxr9a9iqwg5bwcpxfi24c6yl6krydsi";
18 };
19
20 preConfigure = ''
21 sed -r 's,/bin/bash,${stdenv.shell},g' -i ./configure
22 sed -r 's,/sbin/ldconfig,ldconfig,g' -i ./Makefile.template
23 '';
24
25 nativeBuildInputs = [ pkg-config ];
26
27 buildInputs = [
28 lv2
29 gtkmm2
30 boost
31 ];
32
33 meta = with lib; {
34 homepage = "http://ll-plugins.nongnu.org/hacking.html";
35 description = "Tools and libraries that may come in handy when writing LV2 plugins in C++";
36 license = licenses.gpl3;
37 maintainers = [ maintainers.michalrus ];
38 platforms = platforms.linux;
39 };
40}