40 lines
951 B
Nix
40 lines
951 B
Nix
# To use this package, use: `services.transmission.webHome = pkgs.flood-for-transmission;`
|
|
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "flood-for-transmission";
|
|
version = "2025-07-19T10-51-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johman10";
|
|
repo = "flood-for-transmission";
|
|
tag = version;
|
|
hash = "sha256-2oHEVvZZcxH9RBKreaiwFKp7Iu5ijYdpXdgVknCxwKw=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-IUdsUGsm6yAbXqf4UGkz1VPa366TnWsTakkbywbLeTU=";
|
|
|
|
strictDeps = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
cp -r public $out
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Flood clone for Transmission";
|
|
homepage = "https://github.com/johman10/flood-for-transmission";
|
|
downloadPage = "https://github.com/johman10/flood-for-transmission/releases";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ al3xtjames ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|