forked from mirrors/nixpkgs
3266b763ea
https://git.ghostscript.com/?p=mujs.git;a=log;h=1.1.2 The fix for the use-after-free included in this release might have a security impact.
24 lines
567 B
Nix
24 lines
567 B
Nix
{ lib, stdenv, fetchurl, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mujs";
|
|
version = "1.1.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
|
|
sha256 = "sha256-cZ6IK7fZhkDvoWM4Hpto7xzjXIekIuKqQZDJ5AIlh10=";
|
|
};
|
|
|
|
buildInputs = [ readline ];
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://mujs.com/";
|
|
description = "A lightweight, embeddable Javascript interpreter";
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ pSub ];
|
|
license = licenses.isc;
|
|
};
|
|
}
|