11 stdenv.mkDerivation (finalAttrs: {
12 pname = "auto-changelog";
15 src = fetchFromGitHub {
17 repo = "auto-changelog";
18 rev = "v${finalAttrs.version}";
19 hash = "sha256-ticQpDOQieLaWXfavDKIH0jSenRimp5QYeJy42BjpKw=";
22 yarnOfflineCache = fetchYarnDeps {
23 yarnLock = "${finalAttrs.src}/yarn.lock";
24 hash = "sha256-NGQbzogQi0XbeGd7fYNyw0i9Yo9j91CfeTdO7nhq4Yw=";
29 npmHooks.npmInstallHook
35 nativeCheckInputs = [ git ];
39 yarn --offline run test -i -g 'compileTemplate'
44 description = "Command line tool for generating a changelog from git tags and commit history";
45 homepage = "https://github.com/cookpete/auto-changelog";
46 changelog = "https://github.com/cookpete/auto-changelog/blob/master/CHANGELOG.md";
47 license = lib.licenses.mit;
48 mainProgram = "auto-changelog";
49 maintainers = with lib.maintainers; [ pyrox0 ];