blob: 2fbd7e88466b9bebb4d4e5fa8136fd7050adee0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ 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;
};
}
|