nixpkgs/pkgs/development/tools/mod/default.nix

32 lines
816 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2019-03-14 18:03:47 +00:00
buildGoModule rec {
pname = "mod";
2021-01-22 16:02:45 +00:00
version = "0.4.1";
2019-03-14 18:03:47 +00:00
src = fetchFromGitHub {
owner = "marwan-at-work";
repo = "mod";
rev = "v${version}";
2021-01-22 16:02:45 +00:00
sha256 = "sha256-IPdZ2PSS4rYVoMxrunse8Z2NHXLjXAoBcDvB6D70ki0=";
2019-03-14 18:03:47 +00:00
};
2021-01-22 16:02:45 +00:00
vendorSha256 = "sha256-1+06/yXi07iWZhcCEGNnoL2DpeVRYMW/NdyEhZQePbk=";
2019-03-14 18:03:47 +00:00
doCheck = false;
2019-03-14 18:03:47 +00:00
subPackages = [ "cmd/mod" ];
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;
};
}