2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv, fetchCrate, rustPlatform }:
|
2018-02-11 17:14:02 -08:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-01-20 11:32:25 -08:00
|
|
|
version = "4.0.3";
|
2019-03-26 17:30:42 -07:00
|
|
|
pname = "oxipng";
|
2018-02-11 17:14:02 -08:00
|
|
|
|
2020-11-11 12:22:12 -08:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit version pname;
|
2021-01-20 11:32:25 -08:00
|
|
|
sha256 = "sha256-lvVgoAZMIqmbS6yMul9Hf9PtneEVy+jDs3kU1jSBL2w=";
|
2018-02-11 17:14:02 -08:00
|
|
|
};
|
|
|
|
|
2021-05-07 04:00:49 -07:00
|
|
|
cargoSha256 = "sha256-sxvOFxSZCANBa/448SpjoLqk/HjqtaFrOhjrQro446Q=";
|
2018-02-11 17:14:02 -08:00
|
|
|
|
2019-10-16 10:06:11 -07:00
|
|
|
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/shssoichiro/oxipng";
|
2018-11-21 13:19:24 -08:00
|
|
|
description = "A multithreaded lossless PNG compression optimizer";
|
2018-02-11 17:14:02 -08:00
|
|
|
license = licenses.mit;
|
2018-08-05 07:20:38 -07:00
|
|
|
maintainers = with maintainers; [ dywedir ];
|
2018-02-11 17:14:02 -08:00
|
|
|
};
|
|
|
|
}
|