@@ -1,11 +1,12 @@
1−{ lib, stdenv
1+{ lib
2+, stdenv
23, autoconf
34, automake
45, c-ares
56, cryptopp
67, curl
78, fetchFromGitHub
8−, ffmpeg_3
9+, ffmpeg_3 # build fails with latest ffmpeg, see https://github.com/meganz/MEGAcmd/issues/523
910, freeimage
1011, gcc-unwrapped
1112, libmediainfo
@@ -22,13 +23,13 @@
2223
2324stdenv.mkDerivation rec {
2425 pname = "megacmd";
25− version = "1.2.0";
26+ version = "1.4.0";
2627
2728 src = fetchFromGitHub {
2829 owner = "meganz";
2930 repo = "MEGAcmd";
3031 rev = "${version}_Linux";
31− sha256 = "0czyhsms0a0237d6h9b21n9p4nm4zkjanhhbvw26k6266g6c1nyr";
32+ sha256 = "sha256-Q1SZSDTPGgBA/W/ZVYfTQsiP41RE1LJ+esQ3PK9EjIc=";
3233 fetchSubmodules = true;
3334 };
3435
@@ -49,7 +50,6 @@ stdenv.mkDerivation rec {
4950 libmediainfo
5051 libraw
5152 libsodium
52− libtool
5353 libuv
5454 libzen
5555 pcre-cpp
@@ -80,9 +80,9 @@ stdenv.mkDerivation rec {
8080
8181 meta = with lib; {
8282 description = "MEGA Command Line Interactive and Scriptable Application";
83− homepage = "https://mega.nz/";
84− license = licenses.unfree;
85− platforms = [ "i686-linux" "x86_64-linux" ];
86− maintainers = [ maintainers.wedens ];
83+ homepage = "https://mega.nz/cmd";
84+ license = with licenses; [ bsd2 gpl3Only ];
85+ platforms = [ "i686-linux" "x86_64-linux" ];
86+ maintainers = with maintainers; [ lunik1 ];
8787 };
8888}