mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
commit
1ff57b6eca
25
pkgs/development/tools/jid/default.nix
Normal file
25
pkgs/development/tools/jid/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "jid-${version}";
|
||||
version = "0.7.2";
|
||||
|
||||
goPackagePath = "github.com/simeji/jid";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simeji";
|
||||
repo = "jid";
|
||||
rev = "${version}";
|
||||
sha256 = "0p4srp85ilcafrn9d36rzpzg5k5jd7is93p68hamgxqyiiw6a8fi";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
57
pkgs/development/tools/jid/deps.nix
generated
Normal file
57
pkgs/development/tools/jid/deps.nix
generated
Normal file
@ -0,0 +1,57 @@
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/bitly/go-simplejson";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/bitly/go-simplejson";
|
||||
rev = "9db4a59bd4d803ae0c173a7d8a538e056cd59d57";
|
||||
sha256 = "0cbnjzjq55jnzk07zdk7nb96yzgpyawm1r6km3xignn8ih4bnn6g";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/fatih/color";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/fatih/color";
|
||||
rev = "3f9d52f7176a6927daacff70a3e8d1dc2025c53e";
|
||||
sha256 = "165ww24x6ba47ji4j14mp3f006ksnmi53ws9280pgd2zcw91nbn8";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mattn/go-runewidth";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mattn/go-runewidth";
|
||||
rev = "c88d7e5f2e24de48a200a2655ac8a0910be9a0f7";
|
||||
sha256 = "14prmzjlv9z31n6caaaq1kwi4p0mp3x4pv5r7d0575lcampa41jw";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/nsf/termbox-go";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/nsf/termbox-go";
|
||||
rev = "60ab7e3d12ed91bc1b2486559c4b3a6b62297577";
|
||||
sha256 = "040064fh7wzdmv8flw6svi007hiqs1cjk1a3k3gpg7gii3npifsl";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/nwidger/jsoncolor";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/nwidger/jsoncolor";
|
||||
rev = "75a6de4340e59be95f0884b9cebdda246e0fdf40";
|
||||
sha256 = "0aiv42xijrqgrxfx6pfyrndpwqv8i1qwsk190jdczyjxlnki2nki";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/pkg/errors";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/pkg/errors";
|
||||
rev = "059132a15dd08d6704c67711dae0cf35ab991756";
|
||||
sha256 = "0bxkbh2rq40kdk8i05am5np77cnskx3571v2k300j5mmj1rl1ijg";
|
||||
};
|
||||
}
|
||||
]
|
@ -3518,6 +3518,8 @@ with pkgs;
|
||||
|
||||
jhead = callPackage ../tools/graphics/jhead { };
|
||||
|
||||
jid = callPackage ../development/tools/jid { };
|
||||
|
||||
jing = self.jing-trang;
|
||||
jing-trang = callPackage ../tools/text/xml/jing-trang { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user