add mujs, a lightweight, embeddable Javascript interpreter
This commit is contained in:
parent
88d4ae98ae
commit
faf6e067d1
23
pkgs/development/interpreters/mujs/default.nix
Normal file
23
pkgs/development/interpreters/mujs/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -4004,6 +4004,8 @@ let
|
|||||||
pythonProtobuf = pythonPackages.protobuf;
|
pythonProtobuf = pythonPackages.protobuf;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mujs = callPackage ../development/interpreters/mujs { };
|
||||||
|
|
||||||
nix-exec = callPackage ../development/interpreters/nix-exec {
|
nix-exec = callPackage ../development/interpreters/nix-exec {
|
||||||
nix = nixUnstable;
|
nix = nixUnstable;
|
||||||
git = gitMinimal;
|
git = gitMinimal;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user