depot/third_party/nixpkgs/pkgs/applications/misc/semver/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

23 lines
594 B
Nix

{ lib, buildGoModule, fetchFromGitHub, git }:
buildGoModule rec {
pname = "semver";
version = "1.0.0";
src = fetchFromGitHub {
owner = "catouc";
repo = "semver-go";
rev = "v${version}";
sha256 = "0v3j7rw917wnmp4lyjscqzk4qf4azfiz70ynbq3wl4gwp1m783vv";
};
vendorHash = 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;
};
}