depot/third_party/nixpkgs/pkgs/tools/text/gjo/default.nix

26 lines
557 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gjo";
version = "1.0.3";
src = fetchFromGitHub {
owner = "skanehira";
repo = "gjo";
rev = version;
sha256 = "07halr0jzds4rya6hlvp45bjf7vg4yf49w5q60mch05hk8qkjjdw";
};
vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
meta = with lib; {
description = "Small utility to create JSON objects";
homepage = "https://github.com/skanehira/gjo";
license = licenses.mit;
maintainers = with maintainers; [ doronbehar ];
};
}