290a5d916e
Based on "problems" from repology: https://repology.org/repository/nix_unstable/problems Mostly simple changes to reflect redirects.
24 lines
579 B
Nix
24 lines
579 B
Nix
{ stdenv, fetchurl, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mujs-${version}";
|
|
version = "1.0.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
|
|
sha256 = "02cqrfnww2s3ylcvqin1951f2c5nzpby8gxb207p2hbrivbg8f0l";
|
|
};
|
|
|
|
buildInputs = [ readline ];
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://mujs.com/;
|
|
description = "A lightweight, embeddable Javascript interpreter";
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ pSub ];
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|