2019-01-19 12:54:53 +00:00
|
|
|
{ stdenv, fetchurl, readline }:
|
2014-11-29 13:11:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-01-19 12:54:53 +00:00
|
|
|
name = "mujs-${version}";
|
|
|
|
version = "1.0.5";
|
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";
|
|
|
|
sha256 = "02cqrfnww2s3ylcvqin1951f2c5nzpby8gxb207p2hbrivbg8f0l";
|
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; {
|
|
|
|
homepage = http://mujs.com/;
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|