molot-lite: init at unstable-2014-04-23

This commit is contained in:
Bart Brouns 2020-05-30 13:34:16 +02:00 committed by Orivej Desh
parent f8962fd92e
commit 9841a891ef
5 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, unzip, lv2 }:
rec {
version = "unstable-2014-04-23";
src = fetchurl {
# the source is zipped inside the repository, so this doesn't work:
# url = "mirror://sourceforge/molot/molot_src.zip";
url = "https://sourceforge.net/p/molot/code/ci/master/tree/molot_src.zip?format=raw";
sha256 = "1c47dwfgrmn9459px8s5zikcqyr0777v226qzcxlr6azlcjwr51b";
};
buildInputs = [ unzip lv2 ];
unpackPhase = "unzip $src";
installFlags = [ "INSTALL_DIR=$(out)/lib/lv2" ];
meta = with stdenv.lib; {
description = "a stereo and mono audio signal dynamic range compressor in LV2 format";
homepage = "https://sourceforge.net/projects/molot/";
license = licenses.gpl3Plus;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,14 @@
{ stdenvNoCC, molot-mono-lite, molot-stereo-lite }:
with stdenvNoCC.lib;
stdenvNoCC.mkDerivation {
pname = "molot-lite";
version = molot-mono-lite.version;
buildCommand = ''
mkdir -p $out/lib/lv2/
ln -s ${makeLibraryPath [molot-mono-lite]}/lv2/Molot_Mono_Lite.lv2 $out/lib/lv2
ln -s ${makeLibraryPath [molot-stereo-lite]}/lv2/Molot_Stereo_Lite.lv2 $out/lib/lv2
'';
}

View File

@ -0,0 +1,18 @@
{ stdenv, fetchurl, unzip, lv2 }:
let
base = import ./base.nix { inherit stdenv fetchurl unzip lv2; };
in
stdenv.mkDerivation {
pname = "molot-mono-lite";
version = base.version;
src = base.src;
unpackPhase = base.unpackPhase;
buildInputs = base.buildInputs;
installFlags = base.installFlags;
prePatch = ''
cd Molot_Mono_Lite
'';
}

View File

@ -0,0 +1,18 @@
{ stdenv, fetchurl, unzip, lv2 }:
let
base = import ./base.nix { inherit stdenv fetchurl unzip lv2; };
in
stdenv.mkDerivation {
pname = "molot-stereo-lite";
version = base.version;
src = base.src;
unpackPhase = base.unpackPhase;
buildInputs = base.buildInputs;
installFlags = base.installFlags;
prePatch = ''
cd Molot_Stereo_Lite
'';
}

View File

@ -21496,6 +21496,10 @@ in
xmrig-proxy = callPackage ../applications/misc/xmrig/proxy.nix { };
molot-lite = callPackage ../applications/audio/molot-lite { };
molot-mono-lite = callPackage ../applications/audio/molot-lite/mono.nix { };
molot-stereo-lite = callPackage ../applications/audio/molot-lite/stereo.nix { };
monkeysAudio = callPackage ../applications/audio/monkeys-audio { };
monkeysphere = callPackage ../tools/security/monkeysphere { };