2020-03-27 00:33:21 -07:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2019-03-14 11:03:47 -07:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "mod";
|
2021-01-22 08:02:45 -08:00
|
|
|
version = "0.4.1";
|
2019-03-14 11:03:47 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marwan-at-work";
|
|
|
|
repo = "mod";
|
|
|
|
rev = "v${version}";
|
2021-01-22 08:02:45 -08:00
|
|
|
sha256 = "sha256-IPdZ2PSS4rYVoMxrunse8Z2NHXLjXAoBcDvB6D70ki0=";
|
2019-03-14 11:03:47 -07:00
|
|
|
};
|
|
|
|
|
2021-01-22 08:02:45 -08:00
|
|
|
vendorSha256 = "sha256-1+06/yXi07iWZhcCEGNnoL2DpeVRYMW/NdyEhZQePbk=";
|
2019-03-14 11:03:47 -07:00
|
|
|
|
2020-08-03 17:26:27 -07:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-03-14 11:03:47 -07:00
|
|
|
subPackages = [ "cmd/mod" ];
|
|
|
|
|
2020-03-27 00:33:21 -07:00
|
|
|
meta = with lib; {
|
2019-03-14 11:03:47 -07: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 02:09:15 -07:00
|
|
|
homepage = "https://github.com/marwan-at-work/mod";
|
2019-03-14 11:03:47 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
2020-07-30 20:58:04 -07:00
|
|
|
}
|