diff options
author | Aaron Andersen <aaron@fosslib.net> | 2020-03-12 07:49:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-12 07:49:57 -0400 |
commit | 76b292dd1a5019bb52d991e8594ea683164ee6b6 (patch) | |
tree | 7e0c235d10b58a61ac1532435cd5d5feae468b90 /pkgs/development | |
parent | be80721e747b3ea3d89b3a945cb85669f4f8ddce (diff) | |
parent | 2ac8f8faebc2be1aa4e01deb9268f5079635245b (diff) | |
download | nixlib-76b292dd1a5019bb52d991e8594ea683164ee6b6.tar nixlib-76b292dd1a5019bb52d991e8594ea683164ee6b6.tar.gz nixlib-76b292dd1a5019bb52d991e8594ea683164ee6b6.tar.bz2 nixlib-76b292dd1a5019bb52d991e8594ea683164ee6b6.tar.lz nixlib-76b292dd1a5019bb52d991e8594ea683164ee6b6.tar.xz nixlib-76b292dd1a5019bb52d991e8594ea683164ee6b6.tar.zst nixlib-76b292dd1a5019bb52d991e8594ea683164ee6b6.zip |
Merge pull request #79699 from thmzlt/hobbes
hobbes: init at latest
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/hobbes/default.nix | 40 |
1 files changed, 40 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..b56afc0a4351 --- /dev/null +++ b/pkgs/development/tools/hobbes/default.nix @@ -0,0 +1,40 @@ +{ 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" ]; + broken = stdenv.isDarwin; + }; +} |