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