suil: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-26 09:31:27 +01:00
parent 488166124e
commit 9a75e2f9fd
1 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, gtk2, lv2, pkg-config, python, serd, sord, sratom { stdenv, lib, fetchurl, gtk2, lv2, pkg-config, python3, serd, sord, sratom
, wafHook , wafHook
, withQt4 ? true, qt4 ? null , withQt4 ? true, qt4 ? null
, withQt5 ? false, qt5 ? null }: , withQt5 ? false, qt5 ? null }:
@ -17,13 +17,15 @@ stdenv.mkDerivation rec {
sha256 = "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06"; sha256 = "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06";
}; };
nativeBuildInputs = [ pkg-config wafHook ]; nativeBuildInputs = [ pkg-config wafHook python3 ];
buildInputs = [ gtk2 lv2 python serd sord sratom ] buildInputs = [ gtk2 lv2 serd sord sratom ]
++ (lib.optionals withQt4 [ qt4 ]) ++ (lib.optionals withQt4 [ qt4 ])
++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ])); ++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ]));
dontWrapQtApps = true; dontWrapQtApps = true;
strictDeps = true;
meta = with lib; { meta = with lib; {
homepage = "http://drobilla.net/software/suil"; homepage = "http://drobilla.net/software/suil";
description = "A lightweight C library for loading and wrapping LV2 plugin UIs"; description = "A lightweight C library for loading and wrapping LV2 plugin UIs";