0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

unconvert: 0-unstable-2023-09-07 -> 0-unstable-2025-02-16

This also fixes the build, which was failing due to Go being updated.
This commit is contained in:
Anton Mosich 2025-05-01 23:08:25 +02:00
parent dcd14f078d
commit 0b3f468909
No known key found for this signature in database
GPG key ID: 28F77AAFFAF5BAF6

View file

@ -2,26 +2,29 @@
lib, lib,
buildGoModule, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
nix-update-script,
}: }:
buildGoModule { buildGoModule {
pname = "unconvert"; pname = "unconvert";
version = "0-unstable-2023-09-07"; version = "0-unstable-2025-02-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mdempsky"; owner = "mdempsky";
repo = "unconvert"; repo = "unconvert";
rev = "415706980c061b6f71ea923bd206aec88785638f"; rev = "4a038b3d31f56ff5ba511953b745c80a2317e4ae";
hash = "sha256-MchA8uvy+MyQ/VaglBDTC7j/lNIKAtGeeECLoFfH6pI="; hash = "sha256-97H5rlb4buRT6I3OUID8/UARFtCTDhIxnPCkpFF9RDs=";
}; };
vendorHash = "sha256-vZDk+ZNCMP5RRNrgeIowdOKPot7rqM84JhlbfvcQbB4="; vendorHash = "sha256-Yh33ZvQoMG9YM8bdxlMYEIwH2QMTwv2HSYSmA4C9EpA=";
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
]; ];
passthru.updateScript = nix-update-script { extraArgs = lib.singleton "--version=branch"; };
meta = with lib; { meta = with lib; {
description = "Remove unnecessary type conversions from Go source"; description = "Remove unnecessary type conversions from Go source";
mainProgram = "unconvert"; mainProgram = "unconvert";