2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, fuse, curl, glib-networking
|
2017-05-11 12:36:17 +00:00
|
|
|
, asciidoc, wrapGAppsHook }:
|
2013-05-24 21:43:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-30 14:07:44 +00:00
|
|
|
name = "megatools-${version}";
|
2017-02-27 21:37:39 +00:00
|
|
|
version = "1.9.98";
|
2013-05-24 21:43:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-05 19:42:46 +00:00
|
|
|
url = "https://megatools.megous.com/builds/${name}.tar.gz";
|
2017-02-27 21:37:39 +00:00
|
|
|
sha256 = "0vx1farp0dpg4zwvxdbfdnzjk9qx3sn109p1r1zl3g3xsaj221cv";
|
2013-05-24 21:43:26 +00:00
|
|
|
};
|
|
|
|
|
2017-05-11 12:36:17 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook asciidoc ];
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ glib glib-networking fuse curl ];
|
2013-05-24 21:43:26 +00:00
|
|
|
|
2014-11-30 14:07:44 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-05-24 21:43:26 +00:00
|
|
|
description = "Command line client for Mega.co.nz";
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://megatools.megous.com/;
|
2014-11-30 14:07:44 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.viric maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
2013-05-24 21:43:26 +00:00
|
|
|
};
|
|
|
|
}
|