depot/third_party/nixpkgs/pkgs/tools/networking/megatools/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

51 lines
888 B
Nix

{ lib
, stdenv
, fetchgit
, asciidoc
, docbook_xml_dtd_45
, docbook2x
, libxml2
, meson
, ninja
, pkg-config
, curl
, glib
, fuse
}:
stdenv.mkDerivation rec {
pname = "megatools";
version = "1.11.0";
src = fetchgit {
url = "https://megous.com/git/megatools";
rev = version;
sha256 = "sha256-Q9hMJBQBenufubbmeAw8Q8w+Oo+UcZLWathKNDwTv3s=";
};
nativeBuildInputs = [
asciidoc
docbook_xml_dtd_45
docbook2x
libxml2
meson
ninja
pkg-config
];
buildInputs = [
curl
glib
] ++ lib.optionals stdenv.isLinux [ fuse ];
enableParallelBuilding = true;
strictDeps = true;
meta = with lib; {
description = "Command line client for Mega.co.nz";
homepage = "https://megatools.megous.com/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ viric AndersonTorres ];
platforms = platforms.unix;
};
}