Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / mod / default.nix
blob074a5853ba281a1e7923e51d20aa7ad3148357fb
1 { buildGoModule, fetchFromGitHub, lib }:
3 buildGoModule rec {
4   pname = "mod";
5   version = "0.7.0";
7   src = fetchFromGitHub {
8     owner = "marwan-at-work";
9     repo = "mod";
10     rev = "v${version}";
11     sha256 = "sha256-ZFAjiTCmx9o/rUa1vK1Fmz6sE695zzlexTyWJO05M6k=";
12   };
14   vendorHash = "sha256-5A4W99wcuXMWH0s+uykBWuKCxo8wr3GbTpUKj+Ql0os=";
16   doCheck = false;
18   subPackages = [ "cmd/mod" ];
20   meta = with lib; {
21     description = "Automated Semantic Import Versioning Upgrades for Go";
22     longDescription = ''
23       Command line tool to upgrade/downgrade Semantic Import Versioning in Go
24       Modules.
25       '';
26     homepage = "https://github.com/marwan-at-work/mod";
27     license = licenses.mit;
28     maintainers = with maintainers; [ kalbasit ];
29     platforms = platforms.linux ++ platforms.darwin;
30   };