2018-12-31 06:40:47 +03:00
|
|
|
{ stdenv, fetchFromGitHub, xorg, xorgproto, cairo, lv2, pkgconfig }:
|
2018-10-31 20:39:34 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "GxPlugins.lv2";
|
2020-06-07 02:36:00 +03:00
|
|
|
version = "0.8";
|
2018-10-31 20:39:34 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brummer10";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-06-07 02:36:00 +03:00
|
|
|
sha256 = "11iv7bwvvspm74pisqvcpsxpg9xi6b08hq4i8q67mri4mvy9hmal";
|
2018-10-31 20:39:34 +03:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [
|
2018-12-31 06:40:47 +03:00
|
|
|
xorg.libX11 xorgproto cairo lv2
|
2018-10-31 20:39:34 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
installFlags = [ "INSTALL_DIR=$(out)/lib/lv2" ];
|
|
|
|
|
2019-07-15 21:46:56 +03:00
|
|
|
configurePhase = ''
|
|
|
|
for i in GxBoobTube GxValveCaster; do
|
|
|
|
substituteInPlace $i.lv2/Makefile --replace "\$(shell which echo) -e" "echo -e"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2018-10-31 20:39:34 +03:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/brummer10/GxPlugins.lv2";
|
2018-10-31 20:39:34 +03:00
|
|
|
description = "A set of extra lv2 plugins from the guitarix project";
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|