2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
31 lines
814 B
Nix
31 lines
814 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mod";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marwan-at-work";
|
|
repo = "mod";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ZFAjiTCmx9o/rUa1vK1Fmz6sE695zzlexTyWJO05M6k=";
|
|
};
|
|
|
|
vendorHash = "sha256-5A4W99wcuXMWH0s+uykBWuKCxo8wr3GbTpUKj+Ql0os=";
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [ "cmd/mod" ];
|
|
|
|
meta = with lib; {
|
|
description = "Automated Semantic Import Versioning Upgrades for Go";
|
|
longDescription = ''
|
|
Command line tool to upgrade/downgrade Semantic Import Versioning in Go
|
|
Modules.
|
|
'';
|
|
homepage = "https://github.com/marwan-at-work/mod";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
};
|
|
}
|