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";
|
2020-05-04 02:04:16 +02:00
|
|
|
version = "0.4.0";
|
2019-03-14 19:03:47 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marwan-at-work";
|
|
|
|
repo = "mod";
|
|
|
|
rev = "v${version}";
|
2020-05-04 02:04:16 +02:00
|
|
|
sha256 = "1n0pipbq4fjban8hsxhyl5w8xrl4ai1pvgd02i1j1awmm2l3ykzl";
|
2019-03-14 19:03:47 +01:00
|
|
|
};
|
|
|
|
|
2020-05-04 02:04:16 +02:00
|
|
|
modSha256 = "1nl7d00prw1663xrl1nvj1xbs7wzkbqn75i92al821pz12dybdif";
|
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;
|
|
|
|
};
|
|
|
|
}
|