diff options
author | Philipp Böschen <catouc@philipp.boeschen.me> | 2022-11-07 22:07:29 +0100 |
---|---|---|
committer | Philipp Böschen <catouc@philipp.boeschen.me> | 2022-11-07 22:28:39 +0100 |
commit | 6d4a903dfc907c31fa927739304fa1e57671a9b1 (patch) | |
tree | 7b13287295734ba949514822bda0380008f64d23 /pkgs/applications/misc/semver/default.nix | |
parent | 953c8abe0a9e92bb038172a3bd006683b516ab4c (diff) |
semver: init at v1.0.0
Release notes https://github.com/catouc/semver-go/releases/tag/v1.0.0
Diffstat (limited to 'pkgs/applications/misc/semver/default.nix')
-rw-r--r-- | pkgs/applications/misc/semver/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/misc/semver/default.nix b/pkgs/applications/misc/semver/default.nix new file mode 100644 index 0000000000000..5453467b9ef6d --- /dev/null +++ b/pkgs/applications/misc/semver/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub, git }: + +buildGoModule rec { + pname = "semver"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "catouc"; + repo = "semver-go"; + rev = "v${version}"; + sha256 = "0v3j7rw917wnmp4lyjscqzk4qf4azfiz70ynbq3wl4gwp1m783vv"; + }; + + vendorSha256 = null; + nativeBuildInputs = [ git ]; + + meta = with lib; { + homepage = "https://github.com/catouc/semver-go"; + description = "A small CLI to fish out the current or next semver version from a git repository"; + maintainers = with maintainers; [ catouc ]; + license = licenses.mit; + }; +} |