Merge pull request #203664 from LeSuisse/mujs-1.3.2

mujs: 1.2.0 -> 1.3.2

authored by

Robert Scott and committed by
GitHub
d6274e95 e989ef96

+13 -3
+13 -3
pkgs/development/interpreters/mujs/default.nix
··· 1 - { lib, stdenv, fetchurl, readline }: 1 + { lib, stdenv, fetchurl, fetchpatch, readline }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mujs"; 5 - version = "1.2.0"; 5 + version = "1.3.2"; 6 6 7 7 src = fetchurl { 8 8 url = "https://mujs.com/downloads/mujs-${version}.tar.xz"; 9 - sha256 = "sha256-ZpdtHgajUnVKI0Kvc9Guy7U8x82uK2jNoBO33c+SMjM="; 9 + sha256 = "sha256-SIZZP8aIsM3M0x5ey+Wv560b7iOqaeZnuHGv1d/GQMM="; 10 10 }; 11 + 12 + patches = lib.optionals stdenv.isDarwin [ 13 + (fetchpatch { 14 + # ld: library not found for -l:libmujs.a 15 + name = "darwin-failures.patch"; 16 + url = "https://git.ghostscript.com/?p=mujs.git;a=patch;h=d592c785c0b2f9fea982ac3fe7b88fdd7c4817fc"; 17 + sha256 = "sha256-/57A7S65LWZFyQIGe+LtqDMu85K1N/hbztXB+/nCDJk="; 18 + revert = true; 19 + }) 20 + ]; 11 21 12 22 buildInputs = [ readline ]; 13 23