2021-05-22 02:25:12 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, lv2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-30 12:34:16 +01:00
|
|
|
|
|
|
|
pname = "molot-lite";
|
2021-05-22 02:25:12 +01:00
|
|
|
version = "1.0.0";
|
2020-08-18 21:30:59 +01:00
|
|
|
|
2021-05-22 02:25:12 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0xbvicfk1rgp01nlg6hlym9bnygry0nrbv88mv7w6hnacvl63ba4";
|
2020-08-18 21:30:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ lv2 ];
|
|
|
|
|
2021-05-22 02:25:12 +01:00
|
|
|
makeFlags = [ "INSTALL_DIR=$out/lib/lv2" ];
|
2020-05-30 12:34:16 +01:00
|
|
|
|
2020-08-18 21:30:59 +01:00
|
|
|
installPhase = ''
|
2021-05-22 02:25:12 +01:00
|
|
|
runHook preInstall
|
2020-08-18 21:30:59 +01:00
|
|
|
make install INSTALL_DIR=$out/lib/lv2 -C Molot_Mono_Lite
|
|
|
|
make install INSTALL_DIR=$out/lib/lv2 -C Molot_Stereo_Lite
|
2021-05-22 02:25:12 +01:00
|
|
|
runHook postInstall
|
2020-05-30 12:34:16 +01:00
|
|
|
'';
|
2020-08-18 21:30:59 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-08-18 21:30:59 +01:00
|
|
|
description = "Stereo and mono audio signal dynamic range compressor in LV2 format";
|
2021-05-22 02:25:12 +01:00
|
|
|
homepage = "https://github.com/magnetophon/molot-lite";
|
2020-08-18 21:30:59 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2020-05-30 12:34:16 +01:00
|
|
|
}
|