2021-12-21 02:18:32 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "hjson-go";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "3.1.1";
|
2021-12-21 02:18:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hjson";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-03 16:56:52 +00:00
|
|
|
sha256 = "sha256-yU1VkxwQ12CjzITR9X6LLaOfiteN+807rfB/tWcRR1c=";
|
2021-12-21 02:18:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hjson/hjson-go";
|
|
|
|
|
|
|
|
meta = with lib;
|
|
|
|
src.meta // {
|
|
|
|
description = "Utility to convert JSON to and from HJSON";
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|