changelogen: init at 0.6.2 (#448777)

This commit is contained in:
Matteo Pacini
2025-10-06 13:48:14 +00:00
committed by GitHub
2 changed files with 59 additions and 0 deletions
+5
View File
@@ -10340,6 +10340,11 @@
github = "higebu";
githubId = 733288;
};
higherorderlogic = {
name = "Hol";
github = "HigherOrderLogic";
githubId = 73709188;
};
hirenashah = {
email = "hiren@hiren.io";
github = "hirenashah";
+54
View File
@@ -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;
};
})