HybridReverb2: init at 2.1.1 (#49080)
This commit is contained in:
parent
55905659a9
commit
5a5ef43b40
2 changed files with 51 additions and 0 deletions
49
pkgs/applications/audio/hybridreverb2/default.nix
Normal file
49
pkgs/applications/audio/hybridreverb2/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ stdenv, fetchFromGitHub, fetchzip, cmake, pkgconfig, lv2, alsaLib, libjack2,
|
||||
freetype, libX11, gtk3, pcre, libpthreadstubs, libXdmcp, libxkbcommon,
|
||||
epoxy, at-spi2-core, dbus, curl, fftwFloat }:
|
||||
|
||||
let
|
||||
pname = "HybridReverb2";
|
||||
version = "2.1.1";
|
||||
owner = "jpcima";
|
||||
DBversion = "1.0.0";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
impulseDB = fetchzip {
|
||||
url = "https://github.com/${owner}/${pname}-impulse-response-database/archive/v${DBversion}.zip";
|
||||
sha256 = "1hlfxbbkahm1k2sk3c3n2mjaz7k80ky3r55xil8nfbvbv0qan89z";
|
||||
};
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "15mba9qvlis0qrklr50wp3jdysvmk33m7pvclp0k1is9pirj97cb";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig cmake ];
|
||||
buildInputs = [ lv2 alsaLib libjack2 freetype libX11 gtk3 pcre
|
||||
libpthreadstubs libXdmcp libxkbcommon epoxy at-spi2-core dbus curl fftwFloat ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DHybridReverb2_AdvancedJackStandalone=ON"
|
||||
"-DHybridReverb2_UseLocalDatabase=ON"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/${pname}/
|
||||
cp -r ${impulseDB}/* $out/share/${pname}/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www2.ika.ruhr-uni-bochum.de/HybridReverb2;
|
||||
description = "Reverb effect using hybrid impulse convolution";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.magnetophon ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -3296,6 +3296,8 @@ with pkgs;
|
|||
|
||||
hwinfo = callPackage ../tools/system/hwinfo { };
|
||||
|
||||
hybridreverb2 = callPackage ../applications/audio/hybridreverb2 { };
|
||||
|
||||
hylafaxplus = callPackage ../servers/hylafaxplus { };
|
||||
|
||||
i2c-tools = callPackage ../os-specific/linux/i2c-tools { };
|
||||
|
|
Loading…
Reference in a new issue