12 src = fetchFromGitHub {
16 hash = "sha256-nbJdePlzZFM2ihbvFIMKyYZ9C0uKjU3TE5VLduLvtKE=";
27 nativeBuildInputs = [ installShellFiles ];
29 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
30 # Mangal creates a config file in the folder ~/.config/mangal and fails if not possible
31 export HOME=$(mktemp -d)
32 installShellCompletion --cmd mangal \
33 --bash <($out/bin/mangal completion bash) \
34 --zsh <($out/bin/mangal completion zsh) \
35 --fish <($out/bin/mangal completion fish)
38 doCheck = false; # test fail because of sandbox
41 description = "CLI app written in Go which scrapes, downloads and packs manga into different formats";
42 homepage = "https://github.com/metafates/mangal";
43 license = licenses.mit;
44 maintainers = [ maintainers.bertof ];
45 mainProgram = "mangal";