ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / di / distrho-ports / package.nix
blobdcee3bbadd7423516db59dd727889afc1a76f829
2   lib,
3   stdenv,
4   alsa-lib,
5   fetchFromGitHub,
6   fftwFloat,
7   freetype,
8   libGL,
9   libX11,
10   libXcursor,
11   libXext,
12   libXrender,
13   meson,
14   ninja,
15   pkg-config,
18 let
19   rpathLibs = [
20     fftwFloat
21   ];
23 stdenv.mkDerivation {
24   pname = "distrho-ports";
25   version = "2021-03-15-unstable-2024-05-01";
27   src = fetchFromGitHub {
28     owner = "DISTRHO";
29     repo = "DISTRHO-Ports";
30     rev = "b3596e6a690eb0556e69e8b6d943fee2dfbb04fb";
31     sha256 = "00fgqwayd20akww3n2imyqscmyrjyc9jj0ar13k9dhpaxqk2jxbf";
32   };
34   nativeBuildInputs = [
35     pkg-config
36     meson
37     ninja
38   ];
40   buildInputs = rpathLibs ++ [
41     alsa-lib
42     freetype
43     libGL
44     libX11
45     libXcursor
46     libXext
47     libXrender
48   ];
50   env.NIX_CFLAGS_COMPILE = toString [ "-fpermissive" ];
52   postFixup = ''
53     for file in \
54       $out/lib/lv2/vitalium.lv2/vitalium.so \
55       $out/lib/vst/vitalium.so \
56       $out/lib/vst3/vitalium.vst3/Contents/x86_64-linux/vitalium.so
57     do
58       patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}:$(patchelf --print-rpath $file)" $file
59     done
60   '';
62   meta = {
63     homepage = "http://distrho.sourceforge.net/ports";
64     description = "Linux audio plugins and LV2 ports";
65     longDescription = ''
66       Includes:
67       - arctican-function
68       - arctican-pilgrim
69       - dexed
70       - drowaudio-distortion
71       - drowaudio-distortionshaper
72       - drowaudio-flanger
73       - drowaudio-reverb
74       - drowaudio-tremolo
75       - drumsynth
76       - easySSP
77       - eqinox
78       - HiReSam
79       - juce-opl
80       - klangfalter
81       - LUFSMeter
82       - LUFSMeter-Multi
83       - luftikus
84       - obxd
85       - pitchedDelay
86       - refine
87       - stereosourceseparation
88       - swankyamp
89       - tal-dub-3
90       - tal-filter
91       - tal-filter-2
92       - tal-noisemaker
93       - tal-reverb
94       - tal-reverb-2
95       - tal-reverb-3
96       - tal-vocoder-2
97       - temper
98       - vex
99       - vitalium
100       - wolpertinger
101     '';
102     license = with lib.licenses; [
103       gpl2Only
104       gpl3Only
105       gpl2Plus
106       lgpl2Plus
107       lgpl3Only
108       mit
109     ];
110     maintainers = [ ];
111     platforms = lib.systems.inspect.patternLogicalAnd lib.systems.inspect.patterns.isLinux lib.systems.inspect.patterns.isx86;
112   };