diff options
author | Francesco Gazzetta <francygazz@gmail.com> | 2018-04-04 11:45:54 +0000 |
---|---|---|
committer | Francesco Gazzetta <francygazz@gmail.com> | 2018-04-04 11:45:54 +0000 |
commit | 70ff4556082aff6722d1ce971ef2d6fd242e1b3d (patch) | |
tree | 7529734573e6a812e18ea952d3f1cd5f33b2ce5f /pkgs/development/tools/gron/default.nix | |
parent | 0236a947d09d0c273125eb62deb918010d8b4fd7 (diff) | |
download | nixpkgs-70ff4556082aff6722d1ce971ef2d6fd242e1b3d.tar nixpkgs-70ff4556082aff6722d1ce971ef2d6fd242e1b3d.tar.gz nixpkgs-70ff4556082aff6722d1ce971ef2d6fd242e1b3d.tar.bz2 nixpkgs-70ff4556082aff6722d1ce971ef2d6fd242e1b3d.tar.lz nixpkgs-70ff4556082aff6722d1ce971ef2d6fd242e1b3d.tar.xz nixpkgs-70ff4556082aff6722d1ce971ef2d6fd242e1b3d.tar.zst nixpkgs-70ff4556082aff6722d1ce971ef2d6fd242e1b3d.zip |
gron: init at 0.5.1
Diffstat (limited to 'pkgs/development/tools/gron/default.nix')
-rw-r--r-- | pkgs/development/tools/gron/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/tools/gron/default.nix b/pkgs/development/tools/gron/default.nix new file mode 100644 index 00000000000..59f7360df2a --- /dev/null +++ b/pkgs/development/tools/gron/default.nix @@ -0,0 +1,32 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "gron-${version}"; + version = "0.5.1"; + + owner = "tomnomnom"; + repo = "gron"; + goPackagePath = "github.com/${owner}/${repo}"; + + src = fetchFromGitHub { + inherit owner repo; + rev = "v${version}"; + sha256 = "1s688ynjddchviwbiggnfbw28s4wsff2941f4b1q1j7mfak7iym2"; + }; + + goDeps = ./deps.nix; + + meta = with stdenv.lib; { + description = "Make JSON greppable!"; + longDescription = '' + gron transforms JSON into discrete assignments to make it easier to grep + for what you want and see the absolute 'path' to it. It eases the + exploration of APIs that return large blobs of JSON but have terrible + documentation. + ''; + homepage = "https://github.com/tomnomnom/gron"; + license = licenses.mit; + maintainers = [ maintainers.fgaz ]; + platforms = with platforms; linux ++ darwin; + }; +} |