2019-03-14 18:03:47 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mod";
|
2019-03-14 18:03:47 +00:00
|
|
|
version = "0.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marwan-at-work";
|
|
|
|
repo = "mod";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1v7qy0q6fb9amcggwzdygl290zhr3w3zgmig2rm5zx91kw973sqc";
|
|
|
|
};
|
|
|
|
|
2019-03-22 03:40:07 +00:00
|
|
|
modSha256 = "1s33i4kp1vzfp97909pyzdlvi69siw1i2lbi2kbp9yrn163w6928";
|
2019-03-14 18:03:47 +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;
|
|
|
|
};
|
|
|
|
}
|