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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
814 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2019-03-14 18:03:47 +00:00
buildGoModule rec {
pname = "mod";
2023-12-17 01:32:47 +00:00
version = "0.7.1";
2019-03-14 18:03:47 +00:00
src = fetchFromGitHub {
owner = "marwan-at-work";
repo = "mod";
rev = "v${version}";
2023-12-17 01:32:47 +00:00
sha256 = "sha256-QkLARUN/NiN0D6VEhosdFJSce6DP+sWRWFwAEocZaOQ=";
2019-03-14 18:03:47 +00:00
};
2023-10-26 13:27:54 +00:00
vendorHash = "sha256-5A4W99wcuXMWH0s+uykBWuKCxo8wr3GbTpUKj+Ql0os=";
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;
};
}