mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
molot-lite: init at unstable-2014-04-23
This commit is contained in:
parent
f8962fd92e
commit
9841a891ef
26
pkgs/applications/audio/molot-lite/base.nix
Normal file
26
pkgs/applications/audio/molot-lite/base.nix
Normal 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;
|
||||
};
|
||||
}
|
14
pkgs/applications/audio/molot-lite/default.nix
Normal file
14
pkgs/applications/audio/molot-lite/default.nix
Normal 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
|
||||
'';
|
||||
}
|
18
pkgs/applications/audio/molot-lite/mono.nix
Normal file
18
pkgs/applications/audio/molot-lite/mono.nix
Normal 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
|
||||
'';
|
||||
}
|
18
pkgs/applications/audio/molot-lite/stereo.nix
Normal file
18
pkgs/applications/audio/molot-lite/stereo.nix
Normal 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
|
||||
'';
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user