nixpkgs-suyu/pkgs/development/interpreters/mujs/default.nix

24 lines
571 B
Nix
Raw Normal View History

2019-01-19 13:54:53 +01:00
{ stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
pname = "mujs";
2020-05-06 01:09:43 +02:00
version = "1.0.7";
2019-01-19 13:54:53 +01:00
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
2020-05-06 01:09:43 +02:00
sha256 = "1ilhay15z4k7mlzs6g2d00snivin7vp72dfw5wwpmc0x70jr31l2";
};
2019-01-19 13:54:53 +01:00
buildInputs = [ readline ];
makeFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
homepage = "https://mujs.com/";
description = "A lightweight, embeddable Javascript interpreter";
2019-01-20 00:24:55 +01:00
platforms = platforms.unix;
maintainers = with maintainers; [ pSub ];
license = licenses.gpl3;
};
}