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