1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/megatools/default.nix

31 lines
966 B
Nix
Raw Normal View History

2020-04-16 03:16:17 +01:00
{ stdenv, fetchgit, autoreconfHook, pkg-config, glib, fuse, curl, glib-networking
, asciidoc, libxml2, docbook_xsl, docbook_xml_dtd_45, libxslt, wrapGAppsHook }:
2013-05-24 22:43:26 +01:00
stdenv.mkDerivation rec {
pname = "megatools";
2020-04-16 03:16:17 +01:00
version = "1.10.3";
2013-05-24 22:43:26 +01:00
src = fetchgit {
url = "https://megous.com/git/megatools";
2020-04-16 03:16:17 +01:00
rev = "5581d06e447b84d0101d36dc96ab72920eec1017";
sha256 = "1fh456kjsmdvpmvklkpi06h720yvhahd4rxa6cm5x818pl44p1r4";
2013-05-24 22:43:26 +01:00
};
nativeBuildInputs = [
2020-04-16 03:16:17 +01:00
autoreconfHook pkg-config wrapGAppsHook asciidoc libxml2
docbook_xsl docbook_xml_dtd_45 libxslt
];
buildInputs = [ glib glib-networking curl ]
++ stdenv.lib.optionals stdenv.isLinux [ fuse ];
2013-05-24 22:43:26 +01:00
enableParallelBuilding = true;
2014-11-30 14:07:44 +00:00
meta = with stdenv.lib; {
2013-05-24 22:43:26 +01: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.unix;
2013-05-24 22:43:26 +01:00
};
}