summary refs log tree commit diff
path: root/pkgs/applications/audio/gxplugins-lv2/default.nix
blob: e7e4744eea2f32e39148058546dcfbec3a1e7b76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchFromGitHub, xorg, xproto, cairo, lv2, pkgconfig }:

stdenv.mkDerivation rec {
  name = "${pname}-${version}";
  pname = "GxPlugins.lv2";
  version = "0.5";

  src = fetchFromGitHub {
    owner = "brummer10";
    repo = pname;
    rev = "v${version}";
    sha256 = "16r5bj7w726d9327flg530fn0bli4crkxjss7i56yhb1bsi39mbv";
    fetchSubmodules = true;
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [
    xorg.libX11 xproto cairo lv2
  ];

  installFlags = [ "INSTALL_DIR=$(out)/lib/lv2" ];

  meta = with stdenv.lib; {
    homepage = https://github.com/brummer10/GxPlugins.lv2;
    description = "A set of extra lv2 plugins from the guitarix project";
    maintainers = [ maintainers.magnetophon ];
    license = licenses.gpl3;
  };
}