2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "jid";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "0.7.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/simeji/jid";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simeji";
|
|
|
|
repo = "jid";
|
2020-05-03 17:38:23 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "15fgi7cpq5bg2lnpr7rip359xwj2kvlj6j2qzi837c26adnw973x";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A command-line tool to incrementally drill down JSON";
|
|
|
|
homepage = "https://github.com/simeji/jid";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ stesie ];
|
|
|
|
};
|
|
|
|
}
|