depot/third_party/nixpkgs/pkgs/applications/audio/gxplugins-lv2/default.nix
Default email 686ce24904 Project import generated by Copybara.
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
2023-02-16 18:41:37 +01:00

34 lines
904 B
Nix

{ lib, stdenv, fetchFromGitHub, xorg, xorgproto, cairo, lv2, pkg-config }:
stdenv.mkDerivation rec {
pname = "GxPlugins.lv2";
version = "1.0";
src = fetchFromGitHub {
owner = "brummer10";
repo = pname;
rev = "v${version}";
sha256 = "sha256-NvmFoOAQtAnKrZgzG1Shy1HuJEWgjJloQEx6jw59hag=";
fetchSubmodules = true;
};
nativeBuildInputs = [ pkg-config ];
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
'';
meta = with lib; {
homepage = "https://github.com/brummer10/GxPlugins.lv2";
description = "A set of extra lv2 plugins from the guitarix project";
maintainers = [ maintainers.magnetophon ];
license = licenses.gpl3Plus;
};
}