2014-11-29 13:11:54 +00:00
|
|
|
{ stdenv, fetchgit, clang }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-30 13:29:44 +00:00
|
|
|
name = "mujs-2016-11-30";
|
2014-11-29 13:11:54 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://git.ghostscript.com/mujs.git;
|
2016-11-30 13:29:44 +00:00
|
|
|
rev = "a0ceaf5050faf419401fe1b83acfa950ec8a8a89";
|
|
|
|
sha256 = "13abghhqrivaip4h0fav80i8hid220dj0ddc1xnhn6w9rbnrriyg";
|
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;
|
|
|
|
};
|
|
|
|
}
|