b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
31 lines
816 B
Nix
31 lines
816 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mod";
|
|
version = "0.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marwan-at-work";
|
|
repo = "mod";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-7J9BEJ43mNbz6vjeN7Ygn/z+DOp8aGGZI9FhRALFOUk=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-NvTbQcYGMyQ/bfNTJ3eC28n9TIU4HkcD3ij2o9EBX3Y=";
|
|
|
|
doCheck = false;
|
|
|
|
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;
|
|
};
|
|
}
|