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