Merge pull request #301395 from Dan-Theriault/hujsonfmt-init
hujsonfmt: init at 0-unstable-2022-12-23
This commit is contained in:
commit
46f9759e5a
2 changed files with 36 additions and 0 deletions
|
@ -4371,6 +4371,13 @@
|
|||
fingerprint = "4779 D1D5 3C97 2EAE 34A5 ED3D D8AF C4BF 0567 0F9D";
|
||||
}];
|
||||
};
|
||||
dan-theriault = {
|
||||
email = "nix@theriault.codes";
|
||||
github = "Dan-Theriault";
|
||||
githubId = 13945563;
|
||||
matrix = "@dan:matrix.org";
|
||||
name = "Daniel Theriault";
|
||||
};
|
||||
dariof4 = {
|
||||
name = "dariof4";
|
||||
email = "dazedtank@gmail.com";
|
||||
|
|
29
pkgs/by-name/hu/hujsonfmt/package.nix
Normal file
29
pkgs/by-name/hu/hujsonfmt/package.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue