2020-11-11 20:22:12 +00:00
|
|
|
{ stdenv, fetchCrate, rustPlatform }:
|
2018-02-12 01:14:02 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2020-11-29 06:12:03 +00:00
|
|
|
version = "4.0.1";
|
2019-03-27 00:30:42 +00:00
|
|
|
pname = "oxipng";
|
2018-02-12 01:14:02 +00:00
|
|
|
|
2020-11-11 20:22:12 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit version pname;
|
2020-11-29 06:12:03 +00:00
|
|
|
sha256 = "0mgd33cb112yg1bz8jhsbk2w8p2gdiw510bfv4z82b2mg6pl6b9r";
|
2018-02-12 01:14:02 +00:00
|
|
|
};
|
|
|
|
|
2020-11-29 06:12:03 +00:00
|
|
|
cargoSha256 = "01g3qansrvvv85b1kxg4609lnj3bizavg3r7651hn03cnlychj2n";
|
2018-02-12 01:14:02 +00:00
|
|
|
|
2019-10-16 18:06:11 +01:00
|
|
|
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
|
|
|
|
|
2018-02-12 01:14:02 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/shssoichiro/oxipng";
|
2018-11-21 21:19:24 +00:00
|
|
|
description = "A multithreaded lossless PNG compression optimizer";
|
2018-02-12 01:14:02 +00:00
|
|
|
license = licenses.mit;
|
2018-08-05 15:20:38 +01:00
|
|
|
maintainers = with maintainers; [ dywedir ];
|
2018-02-12 01:14:02 +00:00
|
|
|
};
|
|
|
|
}
|