Files
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

37 lines
893 B
Nix

{
lib,
buildNpmPackage,
fetchFromGitHub,
hugo,
}:
buildNpmPackage (finalAttrs: {
pname = "blowfish-tools";
version = "1.10.0";
src = fetchFromGitHub {
owner = "nunocoracao";
repo = "blowfish-tools";
tag = "v${finalAttrs.version}";
hash = "sha256-90EKsRKOO2Hb64Wy3TlwzlPU2K8AAlSxc17ek5ZLoG0=";
};
dontNpmBuild = true;
npmDepsHash = "sha256-P6XHXR4QcVCRz5ju36OzCTNxXtW9RYxkfhbp7kJVfoY=";
postFixup = ''
wrapProgram $out/bin/blowfish-tools \
--prefix PATH : ${lib.makeBinPath [ hugo ]}
'';
meta = {
description = "CLI to initialize and configure a Blowfish project";
homepage = "https://blowfish.page";
changelog = "https://github.com/nunocoracao/blowfish-tools/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eripa ];
mainProgram = "blowfish-tools";
};
})