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

24 lines
567 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
pname = "mujs";
2021-12-09 14:59:07 +01:00
version = "1.1.3";
2019-01-19 13:54:53 +01:00
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
2021-12-09 14:59:07 +01:00
sha256 = "sha256-TSTpUJqea9I9fKFh0Kggvml+fmFD2aVx+tdUGyIcIKY=";
};
2019-01-19 13:54:53 +01:00
buildInputs = [ readline ];
makeFlags = [ "prefix=$(out)" ];
meta = with 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 ];
2021-04-15 10:18:55 +02:00
license = licenses.isc;
};
}