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