2014-11-29 13:11:54 +00:00
|
|
|
{ stdenv, fetchgit, clang }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-13 11:42:30 +00:00
|
|
|
name = "mujs-2016-09-21";
|
2014-11-29 13:11:54 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://git.ghostscript.com/mujs.git;
|
2016-10-13 11:42:30 +00:00
|
|
|
rev = "5c337af4b3df80cf967e4f9f6a21522de84b392a";
|
|
|
|
sha256 = "1x5g6nycggc83md2dbr2nahjbkkmmn64bg25a8hih7z72sw41dgw";
|
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;
|
|
|
|
};
|
|
|
|
}
|