summary refs log tree commit diff
path: root/pkgs/development/interpreters/mujs/default.nix
blob: c7663a1167638e1b7c2de24927fae9b2806954bc (plain) (blame)
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-2017-01-24";

  src = fetchgit {
    url = git://git.ghostscript.com/mujs.git;
    rev  = "4006739a28367c708dea19aeb19b8a1a9326ce08";
    sha256 = "0wvjl8lkh0ga6fkmxgjqq77yagncbv1bdy6hpnxq31x3mkwn1s51";
  };

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