5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
23 lines
623 B
Nix
23 lines
623 B
Nix
{ lib, stdenv, fetchCrate, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
version = "9.1.1";
|
|
pname = "oxipng";
|
|
|
|
src = fetchCrate {
|
|
inherit version pname;
|
|
hash = "sha256-I+1yQQEzhGApvHxPM8W1wySQtDglGp3V4vkwoTd92EU=";
|
|
};
|
|
|
|
cargoHash = "sha256-miXrQVFahz9WYRCduSF5+RSY4j/XNEt8lnSuOohBUFU=";
|
|
|
|
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/shssoichiro/oxipng";
|
|
description = "A multithreaded lossless PNG compression optimizer";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dywedir ];
|
|
mainProgram = "oxipng";
|
|
};
|
|
}
|