Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, sratom, wafHook
2
3# test derivations
4, pipewire
5}:
6
7stdenv.mkDerivation rec {
8 pname = "lilv";
9 version = "0.24.12";
10
11 outputs = [ "out" "dev" ];
12
13 src = fetchurl {
14 url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
15 sha256 = "sha256-JqN3kIkMnB+DggO0f1sjIDNP6SwCpNJuu+Jmnb12kGE=";
16 };
17
18 patches = [ ./lilv-pkgconfig.patch ];
19
20 nativeBuildInputs = [ pkg-config python3 wafHook ];
21 buildInputs = [ serd sord sratom ];
22 propagatedBuildInputs = [ lv2 ];
23 dontAddWafCrossFlags = true;
24
25 passthru.tests = {
26 inherit pipewire;
27 };
28
29 meta = with lib; {
30 homepage = "http://drobilla.net/software/lilv";
31 description = "A C library to make the use of LV2 plugins";
32 license = licenses.mit;
33 maintainers = [ maintainers.goibhniu ];
34 platforms = platforms.unix;
35 };
36}