blob: 5a8b78143c5e5b380ae0dde3103f28710d907939 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
name = "mujs-${version}";
version = "1.0.5";
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
sha256 = "02cqrfnww2s3ylcvqin1951f2c5nzpby8gxb207p2hbrivbg8f0l";
};
buildInputs = [ readline ];
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;
};
}
|