molot-lite: use fork with bugfix and extra features

The original only had the mono version working; the stereo one just
passed the sound.

https://github.com/magnetophon/molot-lite/commit/06c055a94709f06ebc2537eb45bdfd45cd9a5127

+13 -17
+13 -17
pkgs/applications/audio/molot-lite/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip, lv2 }: 2 3 - stdenv.mkDerivation { 4 pname = "molot-lite"; 5 - version = "unstable-2014-04-23"; 6 7 - src = fetchurl { 8 - # fetchzip does not accept urls that do not end with .zip. 9 - url = "https://sourceforge.net/p/molot/code/ci/c4eddc426f8d5821e8ebcf1d67265365e4c8c52a/tree/molot_src.zip?format=raw"; 10 - sha256 = "1c47dwfgrmn9459px8s5zikcqyr0777v226qzcxlr6azlcjwr51b"; 11 }; 12 13 - nativeBuildInputs = [ unzip ]; 14 buildInputs = [ lv2 ]; 15 16 - unpackPhase = '' 17 - unzip $src 18 - ''; 19 - 20 - buildPhase = '' 21 - make -C Molot_Mono_Lite 22 - make -C Molot_Stereo_Lite 23 - ''; 24 25 installPhase = '' 26 make install INSTALL_DIR=$out/lib/lv2 -C Molot_Mono_Lite 27 make install INSTALL_DIR=$out/lib/lv2 -C Molot_Stereo_Lite 28 ''; 29 30 meta = with lib; { 31 description = "Stereo and mono audio signal dynamic range compressor in LV2 format"; 32 - homepage = "https://sourceforge.net/projects/molot/"; 33 license = licenses.gpl3Plus; 34 maintainers = [ maintainers.magnetophon ]; 35 platforms = platforms.linux;
··· 1 + { lib, stdenv, fetchFromGitHub, lv2 }: 2 3 + stdenv.mkDerivation rec { 4 + 5 pname = "molot-lite"; 6 + version = "1.0.0"; 7 8 + src = fetchFromGitHub { 9 + owner = "magnetophon"; 10 + repo = pname; 11 + rev = version; 12 + sha256 = "0xbvicfk1rgp01nlg6hlym9bnygry0nrbv88mv7w6hnacvl63ba4"; 13 }; 14 15 buildInputs = [ lv2 ]; 16 17 + makeFlags = [ "INSTALL_DIR=$out/lib/lv2" ]; 18 19 installPhase = '' 20 + runHook preInstall 21 make install INSTALL_DIR=$out/lib/lv2 -C Molot_Mono_Lite 22 make install INSTALL_DIR=$out/lib/lv2 -C Molot_Stereo_Lite 23 + runHook postInstall 24 ''; 25 26 meta = with lib; { 27 description = "Stereo and mono audio signal dynamic range compressor in LV2 format"; 28 + homepage = "https://github.com/magnetophon/molot-lite"; 29 license = licenses.gpl3Plus; 30 maintainers = [ maintainers.magnetophon ]; 31 platforms = platforms.linux;