commit
ffe8735805
88
pkgs/applications/misc/megacmd/default.nix
Normal file
88
pkgs/applications/misc/megacmd/default.nix
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
{ stdenv
|
||||||
|
, autoconf
|
||||||
|
, automake
|
||||||
|
, c-ares
|
||||||
|
, cryptopp
|
||||||
|
, curl
|
||||||
|
, fetchFromGitHub
|
||||||
|
, ffmpeg
|
||||||
|
, freeimage
|
||||||
|
, gcc-unwrapped
|
||||||
|
, libmediainfo
|
||||||
|
, libraw
|
||||||
|
, libsodium
|
||||||
|
, libtool
|
||||||
|
, libuv
|
||||||
|
, libzen
|
||||||
|
, pcre-cpp
|
||||||
|
, pkgconfig
|
||||||
|
, readline
|
||||||
|
, sqlite
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "megacmd";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "meganz";
|
||||||
|
repo = "MEGAcmd";
|
||||||
|
rev = "${version}_Linux";
|
||||||
|
sha256 = "004j8m3xs6slx03g2g6wzr97myl2v3zc09wxnfar5c62a625pd53";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
libtool
|
||||||
|
pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
c-ares
|
||||||
|
cryptopp
|
||||||
|
curl
|
||||||
|
ffmpeg
|
||||||
|
freeimage
|
||||||
|
gcc-unwrapped
|
||||||
|
libmediainfo
|
||||||
|
libraw
|
||||||
|
libsodium
|
||||||
|
libtool
|
||||||
|
libuv
|
||||||
|
libzen
|
||||||
|
pcre-cpp
|
||||||
|
readline
|
||||||
|
sqlite
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--disable-curl-checks"
|
||||||
|
"--disable-examples"
|
||||||
|
"--with-cares"
|
||||||
|
"--with-cryptopp"
|
||||||
|
"--with-curl"
|
||||||
|
"--with-ffmpeg"
|
||||||
|
"--with-freeimage"
|
||||||
|
"--with-libmediainfo"
|
||||||
|
"--with-libuv"
|
||||||
|
"--with-libzen"
|
||||||
|
"--with-pcre"
|
||||||
|
"--with-readline"
|
||||||
|
"--with-sodium"
|
||||||
|
"--with-termcap"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "MEGA Command Line Interactive and Scriptable Application";
|
||||||
|
homepage = https://mega.nz/;
|
||||||
|
license = licenses.unfree;
|
||||||
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
|
maintainers = [ maintainers.wedens ];
|
||||||
|
};
|
||||||
|
}
|
@ -1930,6 +1930,8 @@ in
|
|||||||
|
|
||||||
megasync = libsForQt5.callPackage ../applications/misc/megasync { };
|
megasync = libsForQt5.callPackage ../applications/misc/megasync { };
|
||||||
|
|
||||||
|
megacmd = callPackage ../applications/misc/megacmd { };
|
||||||
|
|
||||||
meritous = callPackage ../games/meritous { };
|
meritous = callPackage ../games/meritous { };
|
||||||
|
|
||||||
opendune = callPackage ../games/opendune { };
|
opendune = callPackage ../games/opendune { };
|
||||||
|
Loading…
Reference in New Issue
Block a user