nixpkgs/pkgs/tools/networking/megatools/default.nix

31 lines
912 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, fuse, curl, glib-networking
, asciidoc, libxml2, docbook_xsl, docbook_xml_dtd_45, libxslt, wrapGAppsHook }:
2013-05-24 21:43:26 +00:00
stdenv.mkDerivation rec {
2014-11-30 14:07:44 +00:00
name = "megatools-${version}";
version = "1.10.2";
2013-05-24 21:43:26 +00:00
src = fetchFromGitHub {
owner = "megous";
repo = "megatools";
rev = "${version}";
sha256 = "001hw8j36ld03wwaphq3xdaazf2dpl36h84k8xmk524x8vlia8lk";
2013-05-24 21:43:26 +00:00
};
nativeBuildInputs = [
autoreconfHook pkgconfig wrapGAppsHook asciidoc libxml2
docbook_xsl docbook_xml_dtd_45 libxslt
];
buildInputs = [ glib glib-networking fuse curl ];
2013-05-24 21:43:26 +00:00
enableParallelBuilding = true;
2014-11-30 14:07:44 +00:00
meta = with stdenv.lib; {
2013-05-24 21:43:26 +00:00
description = "Command line client for Mega.co.nz";
homepage = https://megatools.megous.com/;
2014-11-30 14:07:44 +00:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.viric maintainers.AndersonTorres ];
platforms = platforms.linux;
2013-05-24 21:43:26 +00:00
};
}