2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchCrate, rustPlatform }:
|
2018-02-12 01:14:02 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2022-12-24 16:09:34 +00:00
|
|
|
version = "8.0.0";
|
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;
|
2022-12-24 16:09:34 +00:00
|
|
|
hash = "sha256-stTwsU9XK3lF4q2sDgb9A1KG1NnhCfVxYWRiBvlmiqQ=";
|
2018-02-12 01:14:02 +00:00
|
|
|
};
|
|
|
|
|
2022-12-24 16:09:34 +00:00
|
|
|
cargoHash = "sha256-XMIsdv2AHMGs0tDEWe3cfplZU9CbqEkHd7L5eS+V7j0=";
|
2018-02-12 01:14:02 +00:00
|
|
|
|
2019-10-16 17:06:11 +00:00
|
|
|
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00: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 14:20:38 +00:00
|
|
|
maintainers = with maintainers; [ dywedir ];
|
2018-02-12 01:14:02 +00:00
|
|
|
};
|
|
|
|
}
|