nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 pname = "jid";
5 version = "0.7.2";
6
7 goPackagePath = "github.com/simeji/jid";
8
9 src = fetchFromGitHub {
10 owner = "simeji";
11 repo = "jid";
12 rev = version;
13 sha256 = "0p4srp85ilcafrn9d36rzpzg5k5jd7is93p68hamgxqyiiw6a8fi";
14 };
15
16 goDeps = ./deps.nix;
17
18 meta = {
19 description = "A command-line tool to incrementally drill down JSON";
20 homepage = https://github.com/simeji/jid;
21 license = stdenv.lib.licenses.mit;
22 platforms = stdenv.lib.platforms.all;
23 maintainers = with stdenv.lib.maintainers; [ stesie ];
24 };
25}