nixpkgs/pkgs/development/interpreters/mujs/default.nix

24 lines
601 B
Nix
Raw Normal View History

{ stdenv, fetchgit, clang }:
stdenv.mkDerivation rec {
2016-03-01 22:06:58 +01:00
name = "mujs-2016-02-22";
src = fetchgit {
url = git://git.ghostscript.com/mujs.git;
2016-03-01 22:06:58 +01:00
rev = "624f975aae6b451e35406d8cdde808626052ce2c";
sha256 = "0vaskzpi84g56yjfkfri1r0lbkawhn556v0b69xjfls7ngsw346y";
};
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;
};
}