2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2019-03-14 18:03:47 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mod";
|
2023-12-17 01:32:47 +00:00
|
|
|
version = "0.7.1";
|
2019-03-14 18:03:47 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marwan-at-work";
|
|
|
|
repo = "mod";
|
|
|
|
rev = "v${version}";
|
2023-12-17 01:32:47 +00:00
|
|
|
sha256 = "sha256-QkLARUN/NiN0D6VEhosdFJSce6DP+sWRWFwAEocZaOQ=";
|
2019-03-14 18:03:47 +00:00
|
|
|
};
|
|
|
|
|
2023-10-26 13:27:54 +00:00
|
|
|
vendorHash = "sha256-5A4W99wcuXMWH0s+uykBWuKCxo8wr3GbTpUKj+Ql0os=";
|
2019-03-14 18:03:47 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-03-14 18:03:47 +00:00
|
|
|
subPackages = [ "cmd/mod" ];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-03-14 18:03:47 +00:00
|
|
|
description = "Automated Semantic Import Versioning Upgrades for Go";
|
|
|
|
longDescription = ''
|
|
|
|
Command line tool to upgrade/downgrade Semantic Import Versioning in Go
|
|
|
|
Modules.
|
|
|
|
'';
|
2020-03-14 09:09:15 +00:00
|
|
|
homepage = "https://github.com/marwan-at-work/mod";
|
2019-03-14 18:03:47 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|