nixpkgs/pkgs/tools/graphics/oxipng/default.nix

23 lines
601 B
Nix
Raw Normal View History

{ lib, stdenv, fetchCrate, rustPlatform }:
2018-02-12 02:14:02 +01:00
rustPlatform.buildRustPackage rec {
2021-07-16 23:19:00 +02:00
version = "5.0.0";
2019-03-27 01:30:42 +01:00
pname = "oxipng";
2018-02-12 02:14:02 +01:00
2020-11-11 21:22:12 +01:00
src = fetchCrate {
inherit version pname;
2021-07-16 23:19:00 +02:00
sha256 = "sha256-rTAY+3ViPkOsRjT9FHKnVOEGfLscuBdMAiQq+N9PRNU=";
2018-02-12 02:14:02 +01:00
};
2021-07-16 23:19:00 +02:00
cargoSha256 = "sha256-Z5tA2bUE/5qGKXP2hIKo6tBegaSUALRzEZ/Xext3EWY=";
2018-02-12 02:14:02 +01:00
2019-10-16 19:06:11 +02:00
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
meta = with lib; {
homepage = "https://github.com/shssoichiro/oxipng";
2018-11-21 22:19:24 +01:00
description = "A multithreaded lossless PNG compression optimizer";
2018-02-12 02:14:02 +01:00
license = licenses.mit;
2018-08-05 16:20:38 +02:00
maintainers = with maintainers; [ dywedir ];
2018-02-12 02:14:02 +01:00
};
}