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

24 lines
567 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
pname = "mujs";
version = "1.1.2";
2019-01-19 12:54:53 +00:00
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
sha256 = "sha256-cZ6IK7fZhkDvoWM4Hpto7xzjXIekIuKqQZDJ5AIlh10=";
};
2019-01-19 12:54:53 +00:00
buildInputs = [ readline ];
makeFlags = [ "prefix=$(out)" ];
meta = with lib; {
homepage = "https://mujs.com/";
description = "A lightweight, embeddable Javascript interpreter";
2019-01-19 23:24:55 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ pSub ];
2021-04-15 08:18:55 +00:00
license = licenses.isc;
};
}