summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/mujs/default.nix
blob: 2e8e9b4f9857b3a10b6b860ad913195e56d2ed08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchgit, clang }:

stdenv.mkDerivation rec {
  name = "mujs-2015-09-29";

  src = fetchgit {
    url = git://git.ghostscript.com/mujs.git;
    rev  = "08276111f575ac6142e922d62aa264dc1f30b69e";
    sha256 = "18w7yayrn5p8amack4p23wcz49x9cjh1pmzalrf16fhy3n753hbb";
  };

  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;
  };
}