nixpkgs/pkgs/tools/networking/megatools/default.nix
2018-01-05 20:42:46 +01:00

24 lines
719 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, fuse, curl, glib_networking
, asciidoc, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "megatools-${version}";
version = "1.9.98";
src = fetchurl {
url = "https://megatools.megous.com/builds/${name}.tar.gz";
sha256 = "0vx1farp0dpg4zwvxdbfdnzjk9qx3sn109p1r1zl3g3xsaj221cv";
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook asciidoc ];
buildInputs = [ glib glib_networking fuse curl ];
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;
};
}