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