07b8fe0546
GitOrigin-RevId: 916ee862e87ac5ee2439f2fb7856386b4dc906ae
23 lines
568 B
Nix
23 lines
568 B
Nix
{ lib, stdenv, fetchurl, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mujs";
|
|
version = "1.0.9";
|
|
|
|
src = fetchurl {
|
|
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
|
|
sha256 = "sha256-zKjWafQtO2OEPelF370s5KkArbT+gQv3lQQpYdGw6HY=";
|
|
};
|
|
|
|
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.gpl3;
|
|
};
|
|
}
|