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";
|
2020-04-01 15:25:28 +00:00
|
|
|
version = "0.3.0";
|
2019-03-14 18:03:47 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marwan-at-work";
|
|
|
|
repo = "mod";
|
|
|
|
rev = "v${version}";
|
2020-04-01 15:25:28 +00:00
|
|
|
sha256 = "1kcsdi9qls9kgklj96ycyrq5fsz5m2qj3ij63d2rwqjggqk0cab6";
|
2019-03-14 18:03:47 +00:00
|
|
|
};
|
|
|
|
|
2020-04-01 15:25:28 +00:00
|
|
|
modSha256 = "0famjypv5qg9lgzw4pz2kz70l50cn6n6nbjyk7jrzmd6bjzd0ypl";
|
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;
|
|
|
|
};
|
|
|
|
}
|