Skip to content

Commit

Permalink
git-chglog: 0.9.1 -> 0.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hdhog committed Apr 21, 2021
1 parent b14062b commit 486b049
Showing 1 changed file with 16 additions and 7 deletions.
@@ -1,18 +1,27 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, fetchFromGitHub, buildGoModule }:

buildGoPackage rec {
buildGoModule rec {
pname = "git-chglog";
version = "0.9.1";

goPackagePath = "github.com/git-chglog/git-chglog";
version = "0.14.2";

src = fetchFromGitHub {
owner = "git-chglog";
repo = "git-chglog";
rev = version;
sha256 = "08x7w1jlvxxvwnz6pvkjmfd3nqayd8n15r9jbqi2amrp31z0gq0p";
rev = "v${version}";
sha256 = "124bqywkj37gv61fswgrg528bf3rjqms1664x22lkn0sqh22zyv1";
};

vendorSha256 = "09zjypmcc3ra7sw81q1pbbrlpxxp4k00p1cfkrrih8wvb25z89h5";

buildPhase = ''
VERSION=${version} make build
'';

installPhase = ''
install -Dm0755 git-chglog $out/bin/git-chglog
./git-chglog --version
'';

meta = with lib; {
description = "CHANGELOG generator implemented in Go (Golang)";
license = licenses.mit;
Expand Down

0 comments on commit 486b049

Please sign in to comment.