2020-02-05 12:20:52 -08:00
|
|
|
{ stdenv, fetchgit, autoreconfHook, pkgconfig, glib, fuse, curl, glib-networking
|
2018-03-07 03:43:16 -08:00
|
|
|
, asciidoc, libxml2, docbook_xsl, docbook_xml_dtd_45, libxslt, wrapGAppsHook }:
|
2013-05-24 14:43:26 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "megatools";
|
2018-08-07 14:10:38 -07:00
|
|
|
version = "1.10.2";
|
2013-05-24 14:43:26 -07:00
|
|
|
|
2020-02-05 12:20:52 -08:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://megous.com/git/megatools";
|
2019-09-08 16:38:31 -07:00
|
|
|
rev = version;
|
2018-08-07 14:10:38 -07:00
|
|
|
sha256 = "001hw8j36ld03wwaphq3xdaazf2dpl36h84k8xmk524x8vlia8lk";
|
2013-05-24 14:43:26 -07:00
|
|
|
};
|
|
|
|
|
2018-03-07 03:43:16 -08:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkgconfig wrapGAppsHook asciidoc libxml2
|
|
|
|
docbook_xsl docbook_xml_dtd_45 libxslt
|
|
|
|
];
|
2020-02-05 12:20:52 -08:00
|
|
|
buildInputs = [ glib glib-networking curl ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isLinux [ fuse ];
|
2013-05-24 14:43:26 -07:00
|
|
|
|
2018-03-07 03:43:16 -08:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-11-30 06:07:44 -08:00
|
|
|
meta = with stdenv.lib; {
|
2013-05-24 14:43:26 -07:00
|
|
|
description = "Command line client for Mega.co.nz";
|
2018-01-05 11:42:46 -08:00
|
|
|
homepage = https://megatools.megous.com/;
|
2014-11-30 06:07:44 -08:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.viric maintainers.AndersonTorres ];
|
2020-02-05 12:20:52 -08:00
|
|
|
platforms = platforms.unix;
|
2013-05-24 14:43:26 -07:00
|
|
|
};
|
|
|
|
}
|