about summary refs log tree commit diff
path: root/pkgs/tools/networking/megatools/default.nix
blob: f6a75011287022a7bf6ed1b7c7ca0af55981d40b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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;
  };
}