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