acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / me / megatools / package.nix
blob105abe64708980b76ef3b69ee0780aec1f6ff95a
1 { lib
2 , stdenv
3 , fetchgit
4 , asciidoc
5 , docbook_xml_dtd_45
6 , docbook2x
7 , libxml2
8 , meson
9 , ninja
10 , pkg-config
11 , curl
12 , glib
13 , fuse
16 stdenv.mkDerivation rec {
17   pname = "megatools";
18   version = "1.11.1";
20   src = fetchgit {
21     url = "https://megous.com/git/megatools";
22     rev = version;
23     sha256 = "sha256-AdvQqaRTsKTqdfNfFiWtA9mIPVGuui+Ru9TUARVG0+Q=";
24   };
26   nativeBuildInputs = [
27     asciidoc
28     docbook_xml_dtd_45
29     docbook2x
30     libxml2
31     meson
32     ninja
33     pkg-config
34   ];
36   buildInputs = [
37     curl
38     glib
39   ] ++ lib.optionals stdenv.hostPlatform.isLinux [ fuse ];
41   enableParallelBuilding = true;
42   strictDeps = true;
44   meta = with lib; {
45     description = "Command line client for Mega.co.nz";
46     homepage = "https://megatools.megous.com/";
47     license = licenses.gpl2Plus;
48     maintainers = with maintainers; [ viric ];
49     platforms = platforms.unix;
50   };