1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/audio/gxplugins-lv2/default.nix

35 lines
901 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, xorg, xorgproto, cairo, lv2, pkgconfig }:
2018-10-31 17:39:34 +00:00
stdenv.mkDerivation rec {
pname = "GxPlugins.lv2";
2019-07-15 19:46:56 +01:00
version = "0.7";
2018-10-31 17:39:34 +00:00
src = fetchFromGitHub {
owner = "brummer10";
repo = pname;
rev = "v${version}";
2019-07-15 19:46:56 +01:00
sha256 = "0jqdqnkg7pg9plcbxy49p7gcs1aj6h0xf7y9gndmjmkw5yjn2940";
2018-10-31 17:39:34 +00:00
fetchSubmodules = true;
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
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
'';
2018-10-31 17:39:34 +00:00
meta = with stdenv.lib; {
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 ];
license = licenses.gpl3;
};
}