1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00
nixpkgs/pkgs/development/interpreters/mujs/default.nix
Pamplemousse c45ea4f814 mujs: 1.0.7 -> 1.0.9
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-03-10 17:28:30 -07:00

24 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;
};
}