diff options
author | Andrew Dunham <andrew@du.nham.ca> | 2020-07-12 17:32:59 -0700 |
---|---|---|
committer | Andrew Dunham <andrew@du.nham.ca> | 2020-07-16 17:59:24 -0700 |
commit | 5601d7483d2497db606bf1c9df284bd47beb5607 (patch) | |
tree | aca4ce8cb512ee72b9f7ca9bf16522fbca8cf9cc /pkgs/development/libraries/audio | |
parent | 45325b1d24f4f91df5181881093af3c7412c7488 (diff) |
mbelib: init at 1.3.0
Diffstat (limited to 'pkgs/development/libraries/audio')
-rw-r--r-- | pkgs/development/libraries/audio/mbelib/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/audio/mbelib/default.nix b/pkgs/development/libraries/audio/mbelib/default.nix new file mode 100644 index 000000000000..1fda3a919264 --- /dev/null +++ b/pkgs/development/libraries/audio/mbelib/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + pname = "mbelib"; + version = "1.3.0"; + + src = fetchFromGitHub { + owner = "szechyjs"; + repo = "mbelib"; + rev = "v${version}"; + sha256 = "0v6b7nf8fgxy7vzgcwffqyql5zhldrz30c88k1ylbjp78hwh4rif"; + }; + + nativeBuildInputs = [ cmake ]; + + enableParallelBuilding = true; + + doCheck = true; + preCheck = '' + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD + export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD + ''; + + meta = with stdenv.lib; { + description = "P25 Phase 1 and ProVoice vocoder"; + homepage = https://github.com/szechyjs/mbelib; + license = licenses.isc; + platforms = platforms.unix; + maintainers = with maintainers; [ andrew-d ]; + }; +} |