23 lines
601 B
Nix
23 lines
601 B
Nix
{ stdenv, fetchgit, clang }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mujs-2016-02-22";
|
|
|
|
src = fetchgit {
|
|
url = git://git.ghostscript.com/mujs.git;
|
|
rev = "624f975aae6b451e35406d8cdde808626052ce2c";
|
|
sha256 = "0cab7x73v380wklpkbrc1k4iyh4q2jyx3zxbymlfi1spmrpn6skl";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|