Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, lib, fetchurl, gtk2, lv2, pkg-config, python3, serd, sord, sratom
2, wafHook
3, withQt5 ? true, qt5 ? null
4}:
5
6stdenv.mkDerivation rec {
7 pname = "suil";
8 version = "0.10.6";
9
10 src = fetchurl {
11 url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
12 sha256 = "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06";
13 };
14
15 nativeBuildInputs = [ pkg-config wafHook python3 ];
16 buildInputs = [ gtk2 lv2 serd sord sratom ]
17 ++ lib.optionals withQt5 (with qt5; [ qtbase qttools ]);
18
19 dontWrapQtApps = true;
20
21 strictDeps = true;
22
23 meta = with lib; {
24 homepage = "http://drobilla.net/software/suil";
25 description = "A lightweight C library for loading and wrapping LV2 plugin UIs";
26 license = licenses.mit;
27 maintainers = with maintainers; [ goibhniu ];
28 platforms = platforms.unix;
29 };
30}