blob: d9b52af92544377942548fe0dc1049473b1727f9 (
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
|
{ lib, stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
pname = "mujs";
version = "1.1.1";
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
sha256 = "sha256-meYfyWGfHVULVjVyA7NJ2Ih9CjbffblWc1yijU/3e7A=";
};
buildInputs = [ readline ];
makeFlags = [ "prefix=$(out)" ];
meta = with lib; {
homepage = "https://mujs.com/";
description = "A lightweight, embeddable Javascript interpreter";
platforms = platforms.unix;
maintainers = with maintainers; [ pSub ];
license = licenses.isc;
};
}
|