Commit 759b2dd8 authored by Vladyslav M.'s avatar Vladyslav M.
Browse files

oxipng: fix tests on aarch64-linux

parent 17380c7d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  fetchFromGitHub,
  rustPlatform,
  qemu,
}:

rustPlatform.buildRustPackage rec {
@@ -19,6 +20,9 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-4PCLtBJliK3uteL8EVKLBVR2YZW1gwQOiSLQok+rqug=";

  # See https://github.com/shssoichiro/oxipng/blob/14b8b0e93a/.cargo/config.toml#L5
  nativeCheckInputs = [ qemu ];

  meta = {
    homepage = "https://github.com/shssoichiro/oxipng";
    description = "Multithreaded lossless PNG compression optimizer";