nixpkgs/pkgs/applications/misc/semver/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
620 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 = "Small CLI to fish out the current or next semver version from a git repository";
maintainers = with maintainers; [ catouc ];
license = licenses.mit;
mainProgram = "semver";
};
}