3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/megatools/default.nix

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;
};
}