2019-01-19 04:54:53 -08:00
|
|
|
{ stdenv, fetchurl, readline }:
|
2014-11-29 05:11:54 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "mujs";
|
2019-07-15 16:19:32 -07:00
|
|
|
version = "1.0.6";
|
2014-11-29 05:11:54 -08:00
|
|
|
|
2019-01-19 04:54:53 -08:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
|
2019-07-15 16:19:32 -07:00
|
|
|
sha256 = "1q9w2dcspfp580pzx7sw7x9gbn8j0ak6dvj75wd1ml3f3q3i43df";
|
2014-11-29 05:11:54 -08:00
|
|
|
};
|
|
|
|
|
2019-01-19 04:54:53 -08:00
|
|
|
buildInputs = [ readline ];
|
2014-11-29 05:11:54 -08:00
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-04-14 16:25:45 -07:00
|
|
|
homepage = https://mujs.com/;
|
2014-11-29 05:11:54 -08:00
|
|
|
description = "A lightweight, embeddable Javascript interpreter";
|
2019-01-19 15:24:55 -08:00
|
|
|
platforms = platforms.unix;
|
2014-11-29 05:11:54 -08:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|