about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/yj/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/yj/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/yj/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/yj/default.nix b/nixpkgs/pkgs/development/tools/yj/default.nix
new file mode 100644
index 000000000000..3520bcfc1b12
--- /dev/null
+++ b/nixpkgs/pkgs/development/tools/yj/default.nix
@@ -0,0 +1,28 @@
+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
+{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
+
+buildGoPackage rec {
+  name = "yj-${version}";
+  version = "4.0.0";
+  rev = "d9a48607cc5c812e8cf4abccc8ad26f37ab51558";
+
+  goPackagePath = "github.com/sclevine/yj";
+
+  src = fetchgit {
+    inherit rev;
+    url = "https://github.com/sclevine/yj";
+    sha256 = "04irphzs6hp9hvyski29ad29ga1kis3h8bw7jqvmy2c2rkrrsh7x";
+  };
+
+  goDeps = ./deps.nix;
+
+  meta = with stdenv.lib; {
+    description = ''Convert YAML <=> TOML <=> JSON <=> HCL'';
+    license = licenses.asl20;
+    maintainers = with maintainers; [ Profpatsch ];
+    platforms = platforms.all;
+    downloadPage = "https://github.com/sclevine/yj";
+    updateWalker = true;
+    inherit version;
+  };
+}