{ lib, buildGoModule, fetchFromGitHub, git, }: buildGoModule (finalAttrs: { pname = "semver"; version = "1.0.0"; src = fetchFromGitHub { owner = "catouc"; repo = "semver-go"; rev = "v${finalAttrs.version}"; sha256 = "0v3j7rw917wnmp4lyjscqzk4qf4azfiz70ynbq3wl4gwp1m783vv"; }; vendorHash = null; nativeBuildInputs = [ git ]; meta = { homepage = "https://github.com/catouc/semver-go"; description = "Small CLI to fish out the current or next semver version from a git repository"; maintainers = with lib.maintainers; [ catouc ]; license = lib.licenses.mit; mainProgram = "semver"; }; })