12 stdenv.mkDerivation rec {
22 url = "https://lv2plug.in/spec/${pname}-${version}.tar.xz";
23 hash = "sha256-eMUbzyG1Tli7Yymsy7Ta4Dsu15tSD5oB5zS9neUwlT8=";
35 # install validators to $dev
36 "--bindir=${placeholder "dev"}/bin"
38 # These are just example plugins. They pull in outdated gtk-2
39 # dependency and many other things. Upstream would like to
40 # eventually move them of the project:
41 # https://gitlab.com/lv2/lv2/-/issues/57#note_1096060029
43 # Pulls in spell checkers among other things.
45 # Avoid heavyweight python dependencies.
48 ++ lib.optionals stdenv.hostPlatform.isDarwin [
49 "-Dlv2dir=${placeholder "out"}/lib/lv2"
56 updateScript = gitUpdater {
57 # No nicer place to find latest release.
58 url = "https://gitlab.com/lv2/lv2.git";
64 homepage = "https://lv2plug.in";
65 description = "Plugin standard for audio systems";
66 mainProgram = "lv2_validate";
67 license = licenses.mit;
69 platforms = platforms.unix;