nixpkgs/pkgs/tools/graphics/oxipng/default.nix
2021-07-17 00:19:00 +03:00

23 lines
601 B
Nix

{ lib, stdenv, fetchCrate, rustPlatform }:
rustPlatform.buildRustPackage rec {
version = "5.0.0";
pname = "oxipng";
src = fetchCrate {
inherit version pname;
sha256 = "sha256-rTAY+3ViPkOsRjT9FHKnVOEGfLscuBdMAiQq+N9PRNU=";
};
cargoSha256 = "sha256-Z5tA2bUE/5qGKXP2hIKo6tBegaSUALRzEZ/Xext3EWY=";
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
meta = with lib; {
homepage = "https://github.com/shssoichiro/oxipng";
description = "A multithreaded lossless PNG compression optimizer";
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];
};
}