depot/third_party/nixpkgs/pkgs/development/interpreters/mujs/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

33 lines
713 B
Nix

{ lib
, stdenv
, fetchurl
, readline
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "mujs";
version = "1.3.3";
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.gz";
hash = "sha256-4sXuVBbf2iIwx6DLeJXfmpstWyBluxjn5k3sKnlqvhs=";
};
buildInputs = [ readline ];
makeFlags = [ "prefix=$(out)" ];
passthru.updateScript = gitUpdater {
# No nicer place to track releases
url = "git://git.ghostscript.com/mujs.git";
};
meta = with lib; {
homepage = "https://mujs.com/";
description = "A lightweight, embeddable Javascript interpreter";
platforms = platforms.unix;
maintainers = with maintainers; [ pSub ];
license = licenses.isc;
};
}