From 6d4a903dfc907c31fa927739304fa1e57671a9b1 Mon Sep 17 00:00:00 2001 From: Philipp Böschen Date: Mon, 7 Nov 2022 22:07:29 +0100 Subject: semver: init at v1.0.0 Release notes https://github.com/catouc/semver-go/releases/tag/v1.0.0 --- pkgs/applications/misc/semver/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkgs/applications/misc/semver/default.nix (limited to 'pkgs/applications/misc/semver/default.nix') 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; + }; +} -- cgit 1.4.1