2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-11-19 09:36:09 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "jid";
|
2020-04-27 23:05:48 +02:00
|
|
|
version = "0.7.6";
|
2018-11-19 09:36:09 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/simeji/jid";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simeji";
|
|
|
|
repo = "jid";
|
2020-04-27 23:05:48 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "15fgi7cpq5bg2lnpr7rip359xwj2kvlj6j2qzi837c26adnw973x";
|
2018-11-19 09:36:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A command-line tool to incrementally drill down JSON";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/simeji/jid";
|
2021-01-23 13:26:19 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ stesie ];
|
2018-11-19 09:36:09 +01:00
|
|
|
};
|
|
|
|
}
|