changelogen: init at 0.6.2 (#448777)
This commit is contained in:
@@ -10340,6 +10340,11 @@
|
||||
github = "higebu";
|
||||
githubId = 733288;
|
||||
};
|
||||
higherorderlogic = {
|
||||
name = "Hol";
|
||||
github = "HigherOrderLogic";
|
||||
githubId = 73709188;
|
||||
};
|
||||
hirenashah = {
|
||||
email = "hiren@hiren.io";
|
||||
github = "hirenashah";
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user