hjson-go: init at version 3.1.0
There already exists a package "hjson" but it's written in Python.
This commit is contained in:
parent
b932a6d4f4
commit
156d617bf4
22
pkgs/development/tools/hjson-go/default.nix
Normal file
22
pkgs/development/tools/hjson-go/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "hjson-go";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hjson";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-X02NnSefJfKUfagzJpdW1UpOLe84SvRaTN+8GqGKzbU=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
@ -32559,6 +32559,8 @@ with pkgs;
|
||||
|
||||
hjson = with python3Packages; toPythonApplication hjson;
|
||||
|
||||
hjson-go = callPackage ../development/tools/hjson-go { };
|
||||
|
||||
epkowa = callPackage ../misc/drivers/epkowa { };
|
||||
|
||||
utsushi = callPackage ../misc/drivers/utsushi { };
|
||||
|
Loading…
Reference in New Issue
Block a user