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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
901 B
Nix
Raw Normal View History

2021-12-08 12:45:04 +00:00
{ lib, stdenv, fetchFromGitHub, lv2, cairo, pkg-config }:
stdenv.mkDerivation rec {
pname = "molot-lite";
2021-12-08 12:45:04 +00:00
version = "1.1.0";
2020-08-18 20:30:59 +00:00
src = fetchFromGitHub {
owner = "magnetophon";
repo = pname;
rev = version;
2021-12-08 12:45:04 +00:00
sha256 = "sha256-0tmobsdCNon6udbkbQw7+EYQKBg2oaXlHIgNEf9U3XE=";
2020-08-18 20:30:59 +00:00
};
2021-12-08 12:45:04 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ lv2 cairo ];
2020-08-18 20:30:59 +00:00
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;
};
}