opened 07:15PM - 07 Jun 24 UTC
6.topic: golang
## Issue description
Go modules, released 6y ago, are now widely adopted in t…he ecosystem. Most remaining (~30) packages in nixpkgs using `buildGoPackage` weren't touched in years. I think most of these can be easily migrated to modules by adding the mod file downstream (or should be removed anyway as they are/their upstream is unmaintained).
## Pase 1: Migrate remaining packages using `buildGoPackage`
- [ ] [allmark](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/allmark/default.nix)
- [ ] [assetfinder](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/as/assetfinder/package.nix) - https://github.com/NixOS/nixpkgs/pull/318089
- [ ] [aws-assume-role](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/admin/aws-assume-role/default.nix)
- [ ] [aws-env](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/admin/aws-env/default.nix)
- [ ] [consul-alerts](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/monitoring/consul-alerts/default.nix)
- [ ] [containerpilot](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/containerpilot/default.nix)
- [ ] [coyim](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/instant-messengers/coyim/default.nix)
- [ ] [dep2nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/dep2nix/default.nix)
- [ ] [(docker-)distribution](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/docker/distribution.nix) - https://github.com/NixOS/nixpkgs/pull/280911
- [ ] [docker](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/docker/default.nix)
- [ ] [docopts](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/misc/docopts/default.nix)
- [ ] [glock](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/glock/default.nix)
- [ ] [go-symbols](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/go-symbols/default.nix)
- [ ] [govers](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/govers/default.nix)
- [ ] [grafana-reporter](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/monitoring/grafana-reporter/default.nix)
- [ ] [guardian-agent](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/guardian-agent/default.nix)
- [ ] [kontemplate](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/kontemplate/default.nix)
- [ ] [librarian-puppet-go](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/librarian-puppet-go/default.nix)
- [ ] [mailhog](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/mail/mailhog/default.nix)
- [ ] [nex](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/parsing/nex/default.nix)
- [ ] [notary](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/notary/default.nix)
- [ ] [prometheus-dovecot-exporter](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/monitoring/prometheus/dovecot-exporter.nix)
- [ ] [prometheus-minio-exporter](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/monitoring/prometheus/minio-exporter/default.nix)
- [ ] [prometheus-surfboard-exporter](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/monitoring/prometheus/surfboard-exporter.nix)
- [ ] [protoc-gen-twirp](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/protoc-gen-twirp/default.nix)
- [ ] [simplehttp2server](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/simplehttp2server/default.nix)
- [ ] [snicat](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/sn/snicat/package.nix) - https://github.com/NixOS/nixpkgs/pull/318084
- [ ] [ssm-session-manager-plugin](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix)
- [ ] [syncthing-tray](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/syncthing-tray/default.nix)
- [ ] [tmsu](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/filesystems/tmsu/default.nix)
- [ ] [upower-notify](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/upower-notify/default.nix) - https://github.com/NixOS/nixpkgs/pull/318082
- [ ] [vndr](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/vndr/default.nix)
- [ ] [xmonad-log](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/xmonad-log/default.nix)
## Pase 2: Mark `buildGoPackage` as deprecated
- [ ] Ideally, we can include the deprecation warning in 24.11.
## Phase 3: Remove `buildGoPackage`