about summary refs log tree commit diff
path: root/pkgs/development/compilers/matter-compiler
diff options
context:
space:
mode:
authorGaëtan André <g.andre@adveez.com>2015-12-17 12:45:42 +0100
committerRok Garbas <rok@garbas.si>2015-12-18 15:49:57 +0100
commitff58a9831b0554968f4d714f2626078d5f89d3d3 (patch)
treeacb95a0bd8d297a7e976d662e93f3ac34000fc9a /pkgs/development/compilers/matter-compiler
parent8843368a135ec4613ddb31d477db60f59a58cb5c (diff)
matter-compiler: initial expression, fixes #11780
Diffstat (limited to 'pkgs/development/compilers/matter-compiler')
-rw-r--r--pkgs/development/compilers/matter-compiler/Gemfile3
-rw-r--r--pkgs/development/compilers/matter-compiler/Gemfile.lock13
-rw-r--r--pkgs/development/compilers/matter-compiler/default.nix22
-rw-r--r--pkgs/development/compilers/matter-compiler/gemset.nix9
4 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/compilers/matter-compiler/Gemfile b/pkgs/development/compilers/matter-compiler/Gemfile
new file mode 100644
index 0000000000000..21ec23452055f
--- /dev/null
+++ b/pkgs/development/compilers/matter-compiler/Gemfile
@@ -0,0 +1,3 @@
+source "https://rubygems.org"
+
+gem 'matter_compiler'
diff --git a/pkgs/development/compilers/matter-compiler/Gemfile.lock b/pkgs/development/compilers/matter-compiler/Gemfile.lock
new file mode 100644
index 0000000000000..2eefe96ec63b6
--- /dev/null
+++ b/pkgs/development/compilers/matter-compiler/Gemfile.lock
@@ -0,0 +1,13 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    matter_compiler (0.5.1)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  matter_compiler
+
+BUNDLED WITH
+   1.10.6
diff --git a/pkgs/development/compilers/matter-compiler/default.nix b/pkgs/development/compilers/matter-compiler/default.nix
new file mode 100644
index 0000000000000..12da620fe5bdd
--- /dev/null
+++ b/pkgs/development/compilers/matter-compiler/default.nix
@@ -0,0 +1,22 @@
+
+{ stdenv, lib, bundlerEnv, ruby }:
+
+bundlerEnv {
+  name = "matter_compiler-0.5.1";
+
+  inherit ruby;
+  gemfile = ./Gemfile;
+  lockfile = ./Gemfile.lock;
+  gemset = ./gemset.nix;
+
+  meta = with lib; {
+    description = ''
+      Matter Compiler is a API Blueprint AST Media Types to API Blueprint conversion tool.
+      It composes an API blueprint from its serialzed AST media-type.
+    '';
+    homepage    = https://github.com/apiaryio/matter_compiler/;
+    license     = licenses.mit;
+    maintainers = with maintainers; [ rvlander ];
+    platforms   = platforms.unix;
+  };
+}
diff --git a/pkgs/development/compilers/matter-compiler/gemset.nix b/pkgs/development/compilers/matter-compiler/gemset.nix
new file mode 100644
index 0000000000000..9ac7ae8d20e4f
--- /dev/null
+++ b/pkgs/development/compilers/matter-compiler/gemset.nix
@@ -0,0 +1,9 @@
+{
+  "matter_compiler" = {
+    version = "0.5.1";
+    source = {
+      type = "gem";
+      sha256 = "16501zdiqxk34v2d0nlbwrcrjm6g57hrsmsw0crwssn29v5zbykf";
+    };
+  };
+}
\ No newline at end of file