1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/interpreters/mujs/default.nix

24 lines
569 B
Nix
Raw Normal View History

2019-01-19 12:54:53 +00:00
{ stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
pname = "mujs";
version = "1.0.6";
2019-01-19 12:54:53 +00:00
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
sha256 = "1q9w2dcspfp580pzx7sw7x9gbn8j0ak6dvj75wd1ml3f3q3i43df";
};
2019-01-19 12:54:53 +00:00
buildInputs = [ readline ];
makeFlags = [ "prefix=$(out)" ];
meta = with stdenv.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 ];
license = licenses.gpl3;
};
}