2018-03-07 12:43:16 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, fuse, curl, glib-networking
|
|
|
|
, asciidoc, libxml2, docbook_xsl, docbook_xml_dtd_45, libxslt, wrapGAppsHook }:
|
2013-05-24 23:43:26 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-30 15:07:44 +01:00
|
|
|
name = "megatools-${version}";
|
2018-03-07 12:43:16 +01:00
|
|
|
version = "2017-10-26";
|
2013-05-24 23:43:26 +02:00
|
|
|
|
2018-03-07 12:43:16 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "megous";
|
|
|
|
repo = "megatools";
|
|
|
|
rev = "35dfba3262f620b4701ec1975293463957e20f26";
|
|
|
|
sha256 = "0xphgv78j731rmhxic4fwzdr7vq5px921qifrw1y40b93nhy4d5n";
|
2013-05-24 23:43:26 +02:00
|
|
|
};
|
|
|
|
|
2018-03-07 12:43:16 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkgconfig wrapGAppsHook asciidoc libxml2
|
|
|
|
docbook_xsl docbook_xml_dtd_45 libxslt
|
|
|
|
];
|
2018-02-25 03:23:58 +01:00
|
|
|
buildInputs = [ glib glib-networking fuse curl ];
|
2013-05-24 23:43:26 +02:00
|
|
|
|
2018-03-07 12:43:16 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-11-30 15:07:44 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-05-24 23:43:26 +02:00
|
|
|
description = "Command line client for Mega.co.nz";
|
2018-01-05 20:42:46 +01:00
|
|
|
homepage = https://megatools.megous.com/;
|
2014-11-30 15:07:44 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.viric maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
2013-05-24 23:43:26 +02:00
|
|
|
};
|
|
|
|
}
|