mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
24 lines
719 B
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;
|
|
};
|
|
}
|