summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/mujs/default.nix
blob: 53ff667c8b3d6c37a3b071a29f5e265b28fc3d78 (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-01-22";

  src = fetchgit {
    url = git://git.ghostscript.com/mujs.git;
    rev  = "d9ed73fd717ebbefe5595d139a133b762cea4e92";
    sha256 = "0kg69j9ra398mdxzq34k5lv92q18g0zz5vx2wcki3qmag2rzivhr";
  };

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