Loading pkgs/by-name/js/jsonfmt/package.nix +9 −12 Original line number Diff line number Diff line Loading @@ -2,22 +2,23 @@ lib, buildGoModule, fetchFromGitHub, testers, jsonfmt, versionCheckHook, }: buildGoModule rec { pname = "jsonfmt"; version = "0.5.1"; version = "0.5.2"; src = fetchFromGitHub { owner = "caarlos0"; repo = "jsonfmt"; rev = "v${version}"; hash = "sha256-4SNpW/+4S4sEwjM7b9ClqKqwqFFVbCVv5VnftGIHtjo="; tag = "v${version}"; hash = "sha256-CMBqqTGpqoErFPKn4lxMB9XrdlhZcY6qbRZZVUVMQj0="; }; vendorHash = "sha256-6pCgBCwHgTRnLDNfveBEKbs7kiXSSacD0B82A2Sbl1U="; vendorHash = "sha256-QcljmDsz5LsXfHaXNVBU7IIVVgkm3Vfnirchx5ZOMSg="; nativeInstallCheckInputs = [ versionCheckHook ]; ldflags = [ "-s" Loading @@ -25,16 +26,12 @@ buildGoModule rec { "-X=main.version=${version}" ]; passthru.tests = { version = testers.testVersion { package = jsonfmt; }; }; doInstallCheck = true; meta = { description = "Formatter for JSON files"; homepage = "https://github.com/caarlos0/jsonfmt"; changelog = "https://github.com/caarlos0/jsonfmt/releases/tag/${src.rev}"; changelog = "https://github.com/caarlos0/jsonfmt/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "jsonfmt"; Loading Loading
pkgs/by-name/js/jsonfmt/package.nix +9 −12 Original line number Diff line number Diff line Loading @@ -2,22 +2,23 @@ lib, buildGoModule, fetchFromGitHub, testers, jsonfmt, versionCheckHook, }: buildGoModule rec { pname = "jsonfmt"; version = "0.5.1"; version = "0.5.2"; src = fetchFromGitHub { owner = "caarlos0"; repo = "jsonfmt"; rev = "v${version}"; hash = "sha256-4SNpW/+4S4sEwjM7b9ClqKqwqFFVbCVv5VnftGIHtjo="; tag = "v${version}"; hash = "sha256-CMBqqTGpqoErFPKn4lxMB9XrdlhZcY6qbRZZVUVMQj0="; }; vendorHash = "sha256-6pCgBCwHgTRnLDNfveBEKbs7kiXSSacD0B82A2Sbl1U="; vendorHash = "sha256-QcljmDsz5LsXfHaXNVBU7IIVVgkm3Vfnirchx5ZOMSg="; nativeInstallCheckInputs = [ versionCheckHook ]; ldflags = [ "-s" Loading @@ -25,16 +26,12 @@ buildGoModule rec { "-X=main.version=${version}" ]; passthru.tests = { version = testers.testVersion { package = jsonfmt; }; }; doInstallCheck = true; meta = { description = "Formatter for JSON files"; homepage = "https://github.com/caarlos0/jsonfmt"; changelog = "https://github.com/caarlos0/jsonfmt/releases/tag/${src.rev}"; changelog = "https://github.com/caarlos0/jsonfmt/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = [ ]; mainProgram = "jsonfmt"; Loading