2023-11-16 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, lv2
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, libsndfile
|
|
|
|
, serd
|
|
|
|
, sord
|
|
|
|
, sratom
|
|
|
|
, gitUpdater
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
# test derivations
|
|
|
|
, pipewire
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lilv";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.24.22";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
outputs = [ "out" "dev" "man" ];
|
2022-02-20 05:27:41 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2023-11-16 04:20:00 +00:00
|
|
|
url = "https://download.drobilla.net/${pname}-${version}.tar.xz";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-dvlJ0OWfyDNjQJtexeFcEEb7fdZYnTwbkgzsH9Kfn/M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config python3 ];
|
|
|
|
buildInputs = [ libsndfile serd sord sratom ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ lv2 ];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
mesonFlags = [ "-Ddocs=disabled" ];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
tests = {
|
|
|
|
inherit pipewire;
|
|
|
|
};
|
|
|
|
updateScript = gitUpdater {
|
|
|
|
url = "https://gitlab.com/lv2/lilv.git";
|
|
|
|
rev-prefix = "v";
|
|
|
|
};
|
2022-02-20 05:27:41 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://drobilla.net/software/lilv";
|
|
|
|
description = "A C library to make the use of LV2 plugins";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2021-10-04 12:37:57 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|