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