mod: init at 0.2.0
This commit is contained in:
parent
8f8e71c0a1
commit
d45408bd48
2 changed files with 31 additions and 0 deletions
29
pkgs/development/tools/mod/default.nix
Normal file
29
pkgs/development/tools/mod/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
|
||||
buildGoModule rec {
|
||||
name = "mod-${version}";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marwan-at-work";
|
||||
repo = "mod";
|
||||
rev = "v${version}";
|
||||
sha256 = "1v7qy0q6fb9amcggwzdygl290zhr3w3zgmig2rm5zx91kw973sqc";
|
||||
};
|
||||
|
||||
modSha256 = "0j0c5idgwclszsmay7av9y3lcwfk72ml06nwll3fz404hx8vla6y";
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -235,6 +235,8 @@ in
|
|||
|
||||
pet = callPackage ../development/tools/pet { };
|
||||
|
||||
mod = callPackage ../development/tools/mod { };
|
||||
|
||||
mht2htm = callPackage ../tools/misc/mht2htm { };
|
||||
|
||||
fetchpatch = callPackage ../build-support/fetchpatch { };
|
||||
|
|
Loading…
Reference in a new issue