diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e3b368e1a577..e9b7126464e8 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -7759,6 +7759,13 @@ github = "ErinvanderVeen"; githubId = 10973664; }; + eripa = { + name = "Eric Ripa"; + email = "eric@ripa.io"; + keys = [ { fingerprint = "L2IODNAzlzi0tkpCy4LHixqMUhkEas9D3+mo4a+PQZg"; } ]; + github = "eripa"; + githubId = 1429673; + }; ern775 = { email = "eren.demir2479090@gmail.com"; github = "ern775"; diff --git a/pkgs/by-name/bl/blowfish-tools/package.nix b/pkgs/by-name/bl/blowfish-tools/package.nix new file mode 100644 index 000000000000..d8ab233e56cb --- /dev/null +++ b/pkgs/by-name/bl/blowfish-tools/package.nix @@ -0,0 +1,36 @@ +{ + 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"; + }; +})