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

23 lines
601 B
Nix
Raw Normal View History

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