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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1017 B
Nix
Raw Normal View History

2022-05-23 23:59:44 +00:00
{ lib
, stdenv
, fetchgit
, autoreconfHook
, pkg-config
, glib
, fuse
, curl
, glib-networking
, asciidoc
, libxml2
, docbook_xsl
, docbook_xml_dtd_45
, libxslt
, wrapGAppsNoGuiHook
}:
2013-05-24 21:43:26 +00:00
stdenv.mkDerivation rec {
pname = "megatools";
2020-04-16 02:16:17 +00:00
version = "1.10.3";
2013-05-24 21:43:26 +00:00
src = fetchgit {
url = "https://megous.com/git/megatools";
2020-04-16 02:16:17 +00:00
rev = "5581d06e447b84d0101d36dc96ab72920eec1017";
sha256 = "1fh456kjsmdvpmvklkpi06h720yvhahd4rxa6cm5x818pl44p1r4";
2013-05-24 21:43:26 +00:00
};
nativeBuildInputs = [
2022-05-23 23:59:44 +00:00
asciidoc
autoreconfHook
docbook_xml_dtd_45
docbook_xsl
libxml2
libxslt
pkg-config
wrapGAppsNoGuiHook
];
2022-05-23 23:59:44 +00:00
buildInputs = [
curl
glib
glib-networking
] ++ lib.optionals stdenv.isLinux [ fuse ];
2013-05-24 21:43:26 +00:00
enableParallelBuilding = true;
meta = with 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;
2020-06-08 03:24:36 +00:00
maintainers = with maintainers; [ viric AndersonTorres zowoq ];
platforms = platforms.unix;
2013-05-24 21:43:26 +00:00
};
}