1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 lv2,
6}:
7
8stdenv.mkDerivation {
9 pname = "mod-distortion";
10 version = "0-unstable-2016-08-19";
11
12 src = fetchFromGitHub {
13 owner = "portalmod";
14 repo = "mod-distortion";
15 rev = "e672d5feb9d631798e3d56eb96e8958c3d2c6821";
16 sha256 = "005wdkbhn9dgjqv019cwnziqg86yryc5vh7j5qayrzh9v446dw34";
17 };
18
19 buildInputs = [ lv2 ];
20
21 installFlags = [ "INSTALL_PATH=$(out)/lib/lv2" ];
22
23 meta = with lib; {
24 homepage = "https://github.com/portalmod/mod-distortion";
25 description = "Analog distortion emulation lv2 plugins";
26 license = licenses.gpl3;
27 maintainers = [ maintainers.magnetophon ];
28 platforms = platforms.linux;
29 };
30}