Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11-beta 31 lines 814 B view raw
1{ buildGoModule, fetchFromGitHub, lib }: 2 3buildGoModule rec { 4 pname = "mod"; 5 version = "0.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "marwan-at-work"; 9 repo = "mod"; 10 rev = "v${version}"; 11 sha256 = "sha256-ZFAjiTCmx9o/rUa1vK1Fmz6sE695zzlexTyWJO05M6k="; 12 }; 13 14 vendorHash = "sha256-5A4W99wcuXMWH0s+uykBWuKCxo8wr3GbTpUKj+Ql0os="; 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}