nixpkgs/pkgs/applications/audio/molot-lite/default.nix

34 lines
839 B
Nix
Raw Normal View History

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