depot/third_party/nixpkgs/pkgs/development/tools/hjson-go/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

22 lines
510 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "hjson-go";
version = "3.1.1";
src = fetchFromGitHub {
owner = "hjson";
repo = pname;
rev = "v${version}";
sha256 = "sha256-yU1VkxwQ12CjzITR9X6LLaOfiteN+807rfB/tWcRR1c=";
};
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;
};
}