Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
58 lines
971 B
Nix
58 lines
971 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.5";
|
|
|
|
src = fetchgit {
|
|
url = "https://xff.cz/git/megatools";
|
|
rev = version;
|
|
hash = "sha256-XOGjdvMw8wfhBwyOBnQqiiJeOGvYXKMYxiJ6BZeEwDQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
asciidoc
|
|
docbook_xml_dtd_45
|
|
docbook2x
|
|
libxml2
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
glib
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.isLinux [ fuse ];
|
|
|
|
enableParallelBuilding = true;
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
description = "Command line client for Mega.co.nz";
|
|
homepage = "https://xff.cz/megatools/";
|
|
changelog = "https://xff.cz/megatools/builds/NEWS";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [
|
|
viric
|
|
vji
|
|
];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|