2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mod";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "0.4.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marwan-at-work";
|
|
|
|
repo = "mod";
|
|
|
|
rev = "v${version}";
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-ZmBh59za1OaFObmNzLtuLKkbR0mBeh6OeD+EHton0nE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
vendorSha256 = "sha256-+87QR3l9XBJVsx4+8ixaidTHaKyLAxMA9CguOlTVoHM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|