Skip to content

Commit

Permalink
megatools: 1.9.98 -> 2017-10-26
Browse files Browse the repository at this point in the history
Old version doesn't work with new Mega API.

(cherry picked from commit b6a2833)
  • Loading branch information
abbradar committed Mar 7, 2018
1 parent 5868f9a commit 0e44dd1
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions pkgs/tools/networking/megatools/default.nix
@@ -1,18 +1,25 @@
{ stdenv, fetchurl, pkgconfig, glib, fuse, curl, glib-networking
, asciidoc, wrapGAppsHook }:
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, fuse, curl, glib-networking
, asciidoc, libxml2, docbook_xsl, docbook_xml_dtd_45, libxslt, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "megatools-${version}";
version = "1.9.98";
version = "2017-10-26";

src = fetchurl {
url = "https://megatools.megous.com/builds/${name}.tar.gz";
sha256 = "0vx1farp0dpg4zwvxdbfdnzjk9qx3sn109p1r1zl3g3xsaj221cv";
src = fetchFromGitHub {
owner = "megous";
repo = "megatools";
rev = "35dfba3262f620b4701ec1975293463957e20f26";
sha256 = "0xphgv78j731rmhxic4fwzdr7vq5px921qifrw1y40b93nhy4d5n";
};

nativeBuildInputs = [ pkgconfig wrapGAppsHook asciidoc ];
nativeBuildInputs = [
autoreconfHook pkgconfig wrapGAppsHook asciidoc libxml2
docbook_xsl docbook_xml_dtd_45 libxslt
];
buildInputs = [ glib glib-networking fuse curl ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "Command line client for Mega.co.nz";
homepage = https://megatools.megous.com/;
Expand Down

0 comments on commit 0e44dd1

Please sign in to comment.