1 { lib, stdenv, fetchFromGitHub, libjack2, lv2, xorg, liblo, libGL, libXcursor, pkg-config }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "wolf-plugins";
11 hash = "sha256-4oi1wnex6eNRHUWXZHnvrmqp4veFuPJqD0YuOhDepg4=";
12 fetchSubmodules = true;
15 nativeBuildInputs = [ pkg-config ];
16 buildInputs = [ libjack2 lv2 xorg.libX11 liblo libGL libXcursor ];
26 patchShebangs ./dpf/utils/generate-ttl.sh
31 mkdir -p $out/lib/dssi
34 cp -r bin/wolf-shaper.lv2 $out/lib/lv2/
35 cp -r bin/wolf-shaper-dssi* $out/lib/dssi/
36 cp -r bin/wolf-shaper-vst.so $out/lib/vst/
37 cp -r bin/wolf-shaper $out/bin/
41 homepage = "https://wolf-plugins.github.io/wolf-shaper/";
42 description = "Waveshaper plugin with spline-based graph editor";
43 license = licenses.gpl3Plus;
44 maintainers = [ maintainers.magnetophon ];
45 platforms = [ "i686-linux" "x86_64-linux" ];
46 mainProgram = "wolf-shaper";