summary refs log tree commit diff
path: root/pkgs/development/interpreters/mujs
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2014-11-29 14:11:54 +0100
committerPascal Wittmann <mail@pascal-wittmann.de>2014-11-29 14:21:16 +0100
commitfaf6e067d146e63c308079440d13531b02674859 (patch)
treecb49f4381b17954d0ee4a55480536a623ff3de5a /pkgs/development/interpreters/mujs
parent88d4ae98ae6f8043572a2afc0b21f33bbaab532c (diff)
downloadnixpkgs-faf6e067d146e63c308079440d13531b02674859.tar
nixpkgs-faf6e067d146e63c308079440d13531b02674859.tar.gz
nixpkgs-faf6e067d146e63c308079440d13531b02674859.tar.bz2
nixpkgs-faf6e067d146e63c308079440d13531b02674859.tar.lz
nixpkgs-faf6e067d146e63c308079440d13531b02674859.tar.xz
nixpkgs-faf6e067d146e63c308079440d13531b02674859.tar.zst
nixpkgs-faf6e067d146e63c308079440d13531b02674859.zip
add mujs, a lightweight, embeddable Javascript interpreter
Diffstat (limited to 'pkgs/development/interpreters/mujs')
-rw-r--r--pkgs/development/interpreters/mujs/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/mujs/default.nix b/pkgs/development/interpreters/mujs/default.nix
new file mode 100644
index 00000000000..7ef475ddab8
--- /dev/null
+++ b/pkgs/development/interpreters/mujs/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchgit, clang }:
+
+stdenv.mkDerivation rec {
+  name = "mujs-2014-11-29";
+
+  src = fetchgit {
+    url = git://git.ghostscript.com/mujs.git;
+    rev  = "6afabf445cad0dd9afbc1f5870dba730801f09c0";
+    sha256 = "1afzmncw3jvfq6smhhhsi1ywfmdpxkjpzswb86pdmdh3p04g1r0n";
+  };
+
+  buildInputs = [ clang ];
+
+  makeFlags = [ "prefix=$(out)" ];
+
+  meta = with stdenv.lib; {
+    homepage = http://mujs.com/;
+    description = "A lightweight, embeddable Javascript interpreter";
+    platforms = stdenv.lib.platforms.linux;
+    maintainers = with maintainers; [ pSub ];
+    license = licenses.gpl3;
+  };
+}