1{ buildGoModule, fetchFromGitHub, lib }:
2
3buildGoModule rec {
4 pname = "mod";
5 version = "0.5.0";
6
7 src = fetchFromGitHub {
8 owner = "marwan-at-work";
9 repo = "mod";
10 rev = "v${version}";
11 sha256 = "sha256-+xgh/al6954I+DseSHk9k7Rbj0TzQxCtX4X3pbQmoG0=";
12 };
13
14 vendorHash = "sha256-NvTbQcYGMyQ/bfNTJ3eC28n9TIU4HkcD3ij2o9EBX3Y=";
15
16 doCheck = false;
17
18 subPackages = [ "cmd/mod" ];
19
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 };
31}