about summary refs log tree commit diff
path: root/pkgs/development/tools/jo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/jo/default.nix')
-rw-r--r--pkgs/development/tools/jo/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/tools/jo/default.nix b/pkgs/development/tools/jo/default.nix
new file mode 100644
index 000000000000..09b5edeeecdf
--- /dev/null
+++ b/pkgs/development/tools/jo/default.nix
@@ -0,0 +1,26 @@
+{stdenv, fetchFromGitHub, autoreconfHook}:
+
+stdenv.mkDerivation rec {
+  name = "jo-${version}";
+  version = "1.0";
+
+  src = fetchFromGitHub {
+    owner = "jpmens";
+    repo = "jo";
+
+    rev = "v${version}";
+    sha256="0vyi0aaxsp6x3cvym7mlcfdsxjhj5h0b00mqc42mg8kc95cyp2c1";
+  };
+
+  enableParallelBuilding = true;
+
+  nativeBuildInputs = [ autoreconfHook ];
+
+  meta = with stdenv.lib; {
+    description = "A small utility to create JSON objects";
+    homepage = https://github.com/jpmens/jo;
+    license = licenses.gpl2Plus;
+    maintainers = [maintainers.markus1189];
+    platforms = platforms.all;
+  };
+}