Files
nixpkgs/pkgs/by-name/hu/hujsonfmt/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

34 lines
773 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
inherit (lib) licenses maintainers;
in
buildGoModule {
pname = "hujsonfmt";
version = "0-unstable-2022-12-23";
src = fetchFromGitHub {
owner = "tailscale";
repo = "hujson";
rev = "20486734a56a3455c47994bf4942974d6f9969a0";
hash = "sha256-j2HRs5zZ0jTIqWIRhHheO9eaGzMMkNuKXuhboq9KpB4=";
};
proxyVendor = true;
vendorHash = "sha256-cvoj85BNnm/ZX1UnXKU2HjvjQkRZ9uN3U0BnD3DmiTE=";
subPackages = [ "cmd/hujsonfmt" ];
meta = {
homepage = "https://tailscale.com";
description = "Automatic formatter for HuJSON / JSON With Comments and trailing Commas (JWCC)";
license = licenses.bsd3;
mainProgram = "hujsonfmt";
maintainers = with maintainers; [ dan-theriault ];
};
}