2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, glib, fuse, curl, glib-networking
|
2021-01-03 04:46:14 +01:00
|
|
|
, asciidoc, libxml2, docbook_xsl, docbook_xml_dtd_45, libxslt, wrapGAppsNoGuiHook }:
|
2013-05-24 23:43:26 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "megatools";
|
2020-04-16 04:16:17 +02:00
|
|
|
version = "1.10.3";
|
2013-05-24 23:43:26 +02:00
|
|
|
|
2020-02-05 21:20:52 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://megous.com/git/megatools";
|
2020-04-16 04:16:17 +02:00
|
|
|
rev = "5581d06e447b84d0101d36dc96ab72920eec1017";
|
|
|
|
sha256 = "1fh456kjsmdvpmvklkpi06h720yvhahd4rxa6cm5x818pl44p1r4";
|
2013-05-24 23:43:26 +02:00
|
|
|
};
|
|
|
|
|
2018-03-07 12:43:16 +01:00
|
|
|
nativeBuildInputs = [
|
2021-01-03 04:46:14 +01:00
|
|
|
autoreconfHook pkg-config wrapGAppsNoGuiHook asciidoc libxml2
|
2018-03-07 12:43:16 +01:00
|
|
|
docbook_xsl docbook_xml_dtd_45 libxslt
|
|
|
|
];
|
2020-02-05 21:20:52 +01:00
|
|
|
buildInputs = [ glib glib-networking curl ]
|
2021-01-15 10:19:50 +01:00
|
|
|
++ lib.optionals stdenv.isLinux [ fuse ];
|
2013-05-24 23:43:26 +02:00
|
|
|
|
2018-03-07 12:43:16 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2013-05-24 23:43:26 +02:00
|
|
|
description = "Command line client for Mega.co.nz";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://megatools.megous.com/";
|
2014-11-30 15:07:44 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2020-06-08 05:24:36 +02:00
|
|
|
maintainers = with maintainers; [ viric AndersonTorres zowoq ];
|
2020-02-05 21:20:52 +01:00
|
|
|
platforms = platforms.unix;
|
2013-05-24 23:43:26 +02:00
|
|
|
};
|
|
|
|
}
|