Files
nixpkgs/pkgs/by-name/un/unconvert/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
818 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule {
pname = "unconvert";
version = "0-unstable-2025-02-16";
src = fetchFromGitHub {
owner = "mdempsky";
repo = "unconvert";
rev = "4a038b3d31f56ff5ba511953b745c80a2317e4ae";
hash = "sha256-97H5rlb4buRT6I3OUID8/UARFtCTDhIxnPCkpFF9RDs=";
};
vendorHash = "sha256-Yh33ZvQoMG9YM8bdxlMYEIwH2QMTwv2HSYSmA4C9EpA=";
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script { extraArgs = lib.singleton "--version=branch"; };
meta = with lib; {
description = "Remove unnecessary type conversions from Go source";
mainProgram = "unconvert";
homepage = "https://github.com/mdempsky/unconvert";
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
};
}