diff --git a/pkgs/by-name/bs/bs2b-lv2/package.nix b/pkgs/by-name/bs/bs2b-lv2/package.nix new file mode 100644 index 000000000000..161522ef32f1 --- /dev/null +++ b/pkgs/by-name/bs/bs2b-lv2/package.nix @@ -0,0 +1,42 @@ +{ + lib, + stdenv, + fetchFromGitHub, + pkg-config, + python3, + wafHook, + libbs2b, + lv2, +}: + +stdenv.mkDerivation rec { + pname = "bs2b-lv2"; + version = "1.1.1"; + + src = fetchFromGitHub { + owner = "nilninull"; + repo = "bs2b-lv2"; + rev = "v${version}"; + fetchSubmodules = true; + hash = "sha256-dOcDPtiKN9Kfs2cdaeDO/GkWrh5tfJSHfiHPBtxJXvc="; + }; + + nativeBuildInputs = [ + pkg-config + python3 + wafHook + ]; + + buildInputs = [ + libbs2b + lv2 + ]; + + meta = with lib; { + description = "LV2 plugin for using Bauer stereophonic-to-binaural DSP library"; + homepage = "https://github.com/nilninull/bs2b-lv2"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ orivej ]; + platforms = platforms.linux; + }; +}