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

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

52 lines
888 B
Nix
Raw Normal View History

2022-05-23 23:59:44 +00:00
{ lib
, stdenv
, fetchgit
, asciidoc
, docbook_xml_dtd_45
, docbook2x
, libxml2
, meson
, ninja
2022-05-23 23:59:44 +00:00
, pkg-config
, curl
2022-05-23 23:59:44 +00:00
, glib
, fuse
}:
2013-05-24 21:43:26 +00:00
stdenv.mkDerivation rec {
pname = "megatools";
version = "1.11.0";
2013-05-24 21:43:26 +00:00
src = fetchgit {
url = "https://megous.com/git/megatools";
rev = version;
sha256 = "sha256-Q9hMJBQBenufubbmeAw8Q8w+Oo+UcZLWathKNDwTv3s=";
2013-05-24 21:43:26 +00:00
};
nativeBuildInputs = [
2022-05-23 23:59:44 +00:00
asciidoc
docbook_xml_dtd_45
docbook2x
2022-05-23 23:59:44 +00:00
libxml2
meson
ninja
2022-05-23 23:59:44 +00:00
pkg-config
];
2022-05-23 23:59:44 +00:00
buildInputs = [
curl
glib
] ++ lib.optionals stdenv.isLinux [ fuse ];
2013-05-24 21:43:26 +00:00
enableParallelBuilding = true;
strictDeps = 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;
2022-09-14 21:42:08 +00:00
maintainers = with maintainers; [ viric AndersonTorres ];
platforms = platforms.unix;
2013-05-24 21:43:26 +00:00
};
}