nixpkgs/pkgs/tools/networking/megatools/default.nix
Nikolay Amiantov b6a28336e5 megatools: 1.9.98 -> 2017-10-26
Old version doesn't work with new Mega API.
2018-03-07 14:44:23 +03:00

31 lines
946 B
Nix

{ 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 = "2017-10-26";
src = fetchFromGitHub {
owner = "megous";
repo = "megatools";
rev = "35dfba3262f620b4701ec1975293463957e20f26";
sha256 = "0xphgv78j731rmhxic4fwzdr7vq5px921qifrw1y40b93nhy4d5n";
};
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/;
license = licenses.gpl2Plus;
maintainers = [ maintainers.viric maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}