git.iko.soy/typeable/nixpkgs
on master help sign in
yj: init at 4.0.0
commitb041cff6af003dfa95ed5143b426569af51cb94a authorProfpatsch <mail@profpatsch.de> dateFri 21 Jun 2019, 17:30 (7 years ago) parent6e4633d
3 files changed+60
pkgs/development/tools/yj/default.nix+28 pkgs/development/tools/yj/deps.nix+30 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/yj/default.nixnew file+28
@@ -0,0 +1,28 @@
1+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
2+{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
3+
4+buildGoPackage rec {
5+ name = "yj-${version}";
6+ version = "4.0.0";
7+ rev = "d9a48607cc5c812e8cf4abccc8ad26f37ab51558";
8+
9+ goPackagePath = "github.com/sclevine/yj";
10+
11+ src = fetchgit {
12+ inherit rev;
13+ url = "https://github.com/sclevine/yj";
14+ sha256 = "04irphzs6hp9hvyski29ad29ga1kis3h8bw7jqvmy2c2rkrrsh7x";
15+ };
16+
17+ goDeps = ./deps.nix;
18+
19+ meta = with stdenv.lib; {
20+ description = ''Convert YAML <=> TOML <=> JSON <=> HCL'';
21+ license = licenses.asl20;
22+ maintainers = with maintainers; [ Profpatsch ];
23+ platforms = platforms.all;
24+ downloadPage = "https://github.com/sclevine/yj";
25+ updateWalker = true;
26+ inherit version;
27+ };
28+}
pkgs/development/tools/yj/deps.nixnew file+30
@@ -0,0 +1,30 @@
1+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
2+[
3+ {
4+ goPackagePath = "github.com/BurntSushi/toml";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/BurntSushi/toml";
8+ rev = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005";
9+ sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/hashicorp/hcl";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/hashicorp/hcl";
17+ rev = "cf7d376da96d9cecec7c7483cec2735efe54a410";
18+ sha256 = "0i1zhgpyvvgwkz74k8wd3sygsap1saqv37rw0j5vdpaazmpr1qkb";
19+ };
20+ }
21+ {
22+ goPackagePath = "gopkg.in/yaml.v2";
23+ fetch = {
24+ type = "git";
25+ url = "https://gopkg.in/yaml.v2";
26+ rev = "51d6538a90f86fe93ac480b35f37b2be17fef232";
27+ sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
28+ };
29+ }
30+]
pkgs/top-level/all-packages.nix+2
@@ -6930,6 +6930,8 @@ in
69306930 # To expose more packages for Yi, override the extraPackages arg.
69316931 yi = callPackage ../applications/editors/yi/wrapper.nix { };
69326932
6933+ yj = callPackage ../development/tools/yj { };
6934+
69336935 yle-dl = callPackage ../tools/misc/yle-dl {};
69346936
69356937 you-get = python3Packages.callPackage ../tools/misc/you-get { };