2014-11-29 13:11:54 +00:00
|
|
|
{ stdenv, fetchgit, clang }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-03 18:41:40 +00:00
|
|
|
name = "mujs-2017-01-24";
|
2014-11-29 13:11:54 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://git.ghostscript.com/mujs.git;
|
2017-02-03 18:41:40 +00:00
|
|
|
rev = "4006739a28367c708dea19aeb19b8a1a9326ce08";
|
|
|
|
sha256 = "0wvjl8lkh0ga6fkmxgjqq77yagncbv1bdy6hpnxq31x3mkwn1s51";
|
2014-11-29 13:11:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|