nixpkgs/pkgs/development/tools/hjson-go/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
510 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "hjson-go";
2021-12-30 15:38:26 +00:00
version = "3.1.1";
src = fetchFromGitHub {
owner = "hjson";
repo = pname;
rev = "v${version}";
2021-12-30 15:38:26 +00:00
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;
};
}