diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 37cc3332b162..abdcc8560077 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10340,6 +10340,11 @@ github = "higebu"; githubId = 733288; }; + higherorderlogic = { + name = "Hol"; + github = "HigherOrderLogic"; + githubId = 73709188; + }; hirenashah = { email = "hiren@hiren.io"; github = "hirenashah"; diff --git a/pkgs/by-name/ch/changelogen/package.nix b/pkgs/by-name/ch/changelogen/package.nix new file mode 100644 index 000000000000..dd14b2029d0f --- /dev/null +++ b/pkgs/by-name/ch/changelogen/package.nix @@ -0,0 +1,54 @@ +{ + lib, + stdenv, + fetchFromGitHub, + nodejs, + pnpm_10, + npmHooks, +}: +let + pnpm = pnpm_10; +in +stdenv.mkDerivation (finalAttrs: { + pname = "changelogen"; + version = "0.6.2"; + + src = fetchFromGitHub { + owner = "unjs"; + repo = "changelogen"; + tag = "v${finalAttrs.version}"; + hash = "sha256-N6X9Wffl9WumCXvAt4y+vs3ZJY7NheK+O8BObmuIa/g="; + }; + + pnpmDeps = pnpm.fetchDeps { + inherit (finalAttrs) pname version src; + fetcherVersion = 2; + hash = "sha256-UKSIfn2iR8Ydk9ViGCgWtspZr1FjTeW49UMwTcL57UA="; + }; + + nativeBuildInputs = [ + nodejs + pnpm.configHook + npmHooks.npmInstallHook + ]; + + buildPhase = '' + runHook preBuild + + pnpm run build + + runHook postBuild + ''; + + dontNpmPrune = true; + + meta = { + description = "Beautiful Changelogs using Conventional Commits"; + homepage = "https://github.com/unjs/changelogen"; + changelog = "https://github.com/unjs/changelogen/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ higherorderlogic ]; + mainProgram = "changelogen"; + platforms = nodejs.meta.platforms; + }; +})