Files
nixpkgs/pkgs/by-name/fl/flood/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
1002 B
Nix

{
lib,
buildNpmPackage,
fetchFromGitHub,
nixosTests,
pnpm_9,
nix-update-script,
}:
buildNpmPackage rec {
pname = "flood";
version = "4.9.5";
src = fetchFromGitHub {
owner = "jesec";
repo = "flood";
rev = "v${version}";
hash = "sha256-UXapL26PsSJvWX4Vjj/JJC/FsUBLuGEoqv2dSRSQqNg=";
};
npmConfigHook = pnpm_9.configHook;
npmDeps = pnpmDeps;
dontNpmPrune = true;
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
fetcherVersion = 1;
hash = "sha256-xoCRZUJkdR4X5hszM5gaOyWXLNCbzG5CzF+6OXGEy1k=";
};
passthru = {
tests = {
inherit (nixosTests) flood;
};
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Modern web UI for various torrent clients with a Node.js backend and React frontend";
homepage = "https://flood.js.org";
license = licenses.gpl3Only;
maintainers = with maintainers; [
thiagokokada
winter
ners
];
mainProgram = "flood";
};
}