hjson-go: 3.1.1 -> 3.2.0

This commit is contained in:
Aaron Jheng 2022-05-02 02:58:56 +00:00 committed by ehmry
parent 776dfbd4a2
commit 6994550224

View File

@ -1,23 +1,25 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "hjson-go";
version = "3.1.1";
version = "3.2.0";
src = fetchFromGitHub {
owner = "hjson";
repo = pname;
rev = "v${version}";
sha256 = "sha256-yU1VkxwQ12CjzITR9X6LLaOfiteN+807rfB/tWcRR1c=";
sha256 = "sha256-plsiHxjrZXcnaqN8Frs+VuGwV7JOj8UwB0iibp3ApAk=";
};
goPackagePath = "github.com/hjson/hjson-go";
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
meta = with lib;
src.meta // {
description = "Utility to convert JSON to and from HJSON";
maintainers = with maintainers; [ ehmry ];
mainProgram = "hjson-cli";
license = licenses.mit;
};
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Utility to convert JSON to and from HJSON";
homepage = "https://hjson.github.io/";
maintainers = with maintainers; [ ehmry ];
license = licenses.mit;
mainProgram = "hjson-cli";
};
}