3
0
Fork 0
forked from mirrors/nixpkgs

add mujs, a lightweight, embeddable Javascript interpreter

This commit is contained in:
Pascal Wittmann 2014-11-29 14:11:54 +01:00
parent 88d4ae98ae
commit faf6e067d1
2 changed files with 25 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -4004,6 +4004,8 @@ let
pythonProtobuf = pythonPackages.protobuf;
};
mujs = callPackage ../development/interpreters/mujs { };
nix-exec = callPackage ../development/interpreters/nix-exec {
nix = nixUnstable;
git = gitMinimal;