diff options
author | Emery Hemingway <ehmry@posteo.net> | 2023-12-16 00:37:41 +0200 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2023-12-15 22:39:18 +0000 |
commit | 2925a9ef304ca42050efc7d0589b9cebd9e8173b (patch) | |
tree | de38448dff4f70f0883a132810cd9c3495f6630d /pkgs/by-name/hj | |
parent | 295c4eef4191853e4e31be63b654fe553c2e0dc7 (diff) |
hjson-go: 4.3.1 -> 4.4.0
Diffstat (limited to 'pkgs/by-name/hj')
-rw-r--r-- | pkgs/by-name/hj/hjson-go/package.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/hj/hjson-go/package.nix b/pkgs/by-name/hj/hjson-go/package.nix new file mode 100644 index 0000000000000..0e625e2985b63 --- /dev/null +++ b/pkgs/by-name/hj/hjson-go/package.nix @@ -0,0 +1,32 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "hjson-go"; + version = "4.4.0"; + + src = fetchFromGitHub { + owner = "hjson"; + repo = pname; + rev = "v${version}"; + hash = "sha256-fonPxk/9ue8LzHTdKpuHJcucQoMl4P6gq+tbjS8Ui7Q="; + }; + + vendorHash = null; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "Utility to convert JSON to and from HJSON"; + homepage = "https://hjson.github.io/"; + changelog = "https://github.com/hjson/hjson-go/releases/tag/v${version}"; + maintainers = with maintainers; [ ehmry ]; + license = licenses.mit; + mainProgram = "hjson-cli"; + }; +} |