about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorThomaz Leite <thomaz@actor.com.br>2020-03-11 09:03:55 -0300
committerThomaz Leite <thomaz@actor.com.br>2020-03-11 09:06:09 -0300
commit704e60443af4f58c3b3c1a4e5ce99dd971701e6c (patch)
treedff9570b323dfede5ec9b10973ec01dadb22f2bd /pkgs/development/tools
parent063795f3f553f5718c037f6eada2c5a7e3c5a584 (diff)
downloadnixlib-704e60443af4f58c3b3c1a4e5ce99dd971701e6c.tar
nixlib-704e60443af4f58c3b3c1a4e5ce99dd971701e6c.tar.gz
nixlib-704e60443af4f58c3b3c1a4e5ce99dd971701e6c.tar.bz2
nixlib-704e60443af4f58c3b3c1a4e5ce99dd971701e6c.tar.lz
nixlib-704e60443af4f58c3b3c1a4e5ce99dd971701e6c.tar.xz
nixlib-704e60443af4f58c3b3c1a4e5ce99dd971701e6c.tar.zst
nixlib-704e60443af4f58c3b3c1a4e5ce99dd971701e6c.zip
hobbes: init at unstable-2020-03-10
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/hobbes/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/tools/hobbes/default.nix b/pkgs/development/tools/hobbes/default.nix
new file mode 100644
index 000000000000..b480d673a691
--- /dev/null
+++ b/pkgs/development/tools/hobbes/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchFromGitHub, cmake, llvm_6, ncurses, readline, zlib }:
+
+stdenv.mkDerivation {
+  name = "hobbes";
+  version = "unstable-2020-03-10";
+
+  src = fetchFromGitHub {
+    owner = "morgan-stanley";
+    repo = "hobbes";
+    rev = "ae956df9da3f3b24630bc1757dfaa2a8952db07a";
+    sha256 = "1a0lb87vb0qcp5wy6swk4jcc88l7vhy6iflsk7zplw547mbjhjsy";
+  };
+
+  nativeBuildInputs = [
+    cmake
+  ];
+
+  buildInputs = [
+    llvm_6 # LLVM 6 is latest currently supported. See https://git.io/JvK6w.
+    ncurses
+    readline
+    zlib
+  ];
+
+  doCheck = false; # Running tests in NixOS hangs. See https://git.io/JvK7R.
+  checkTarget = "test";
+
+  meta = with stdenv.lib; {
+    description = "A language and an embedded JIT compiler";
+    longDescription = ''
+      Hobbes is a a language, embedded compiler, and runtime for efficient
+      dynamic expression evaluation, data storage and analysis.
+    '';
+    homepage = "https://github.com/Morgan-Stanley/hobbes";
+    license = licenses.asl20;
+    maintainers = [ maintainers.thmzlt ];
+    platforms = [ "x86_64-linux" "x86_64-darwin" ];
+  };
+}