diff options
Diffstat (limited to 'pkgs/by-name/au/auto-changelog/package.nix')
-rw-r--r-- | pkgs/by-name/au/auto-changelog/package.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/au/auto-changelog/package.nix b/pkgs/by-name/au/auto-changelog/package.nix new file mode 100644 index 0000000000000..44a4273b9042a --- /dev/null +++ b/pkgs/by-name/au/auto-changelog/package.nix @@ -0,0 +1,31 @@ +{ + lib, + mkYarnPackage, + fetchYarnDeps, + fetchFromGitHub +}: mkYarnPackage rec { + pname = "auto-changelog"; + version = "2.4.0"; + + src = fetchFromGitHub { + owner = "cookpete"; + repo = "auto-changelog"; + rev = "v${version}"; + hash = "sha256-qgJ/TVyViMhISt/EfCWV7XWQLXKTeZalGHFG905Ma5I="; + }; + + packageJSON = ./package.json; + offlineCache = fetchYarnDeps { + yarnLock = "${src}/yarn.lock"; + hash = "sha256-rP/Xt0txwfEUmGZ0CyHXSEG9zSMtv8wr5M2Na+6PbyQ="; + }; + + meta = { + description = "Command line tool for generating a changelog from git tags and commit history"; + homepage = "https://github.com/cookpete/auto-changelog"; + changelog = "https://github.com/cookpete/auto-changelog/blob/master/CHANGELOG.md"; + license = lib.licenses.mit; + mainProgram = "auto-changelog"; + maintainers = with lib.maintainers; [ pyrox0 ]; + }; +} |