2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, xorg, xorgproto, cairo, lv2, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "GxPlugins.lv2";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brummer10";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "11iv7bwvvspm74pisqvcpsxpg9xi6b08hq4i8q67mri4mvy9hmal";
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorgproto cairo lv2
|
|
|
|
];
|
|
|
|
|
|
|
|
installFlags = [ "INSTALL_DIR=$(out)/lib/lv2" ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
for i in GxBoobTube GxValveCaster; do
|
|
|
|
substituteInPlace $i.lv2/Makefile --replace "\$(shell which echo) -e" "echo -e"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/brummer10/GxPlugins.lv2";
|
|
|
|
description = "A set of extra lv2 plugins from the guitarix project";
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|