Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / hj / hjson-go / package.nix
blob0e625e2985b63eaf844d4a65525ee682be327f20
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "hjson-go";
8   version = "4.4.0";
10   src = fetchFromGitHub {
11     owner = "hjson";
12     repo = pname;
13     rev = "v${version}";
14     hash = "sha256-fonPxk/9ue8LzHTdKpuHJcucQoMl4P6gq+tbjS8Ui7Q=";
15   };
17   vendorHash = null;
19   ldflags = [
20     "-s"
21     "-w"
22   ];
24   meta = with lib; {
25     description = "Utility to convert JSON to and from HJSON";
26     homepage = "https://hjson.github.io/";
27     changelog = "https://github.com/hjson/hjson-go/releases/tag/v${version}";
28     maintainers = with maintainers; [ ehmry ];
29     license = licenses.mit;
30     mainProgram = "hjson-cli";
31   };