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

23 lines
603 B
Nix
Raw Normal View History

{ lib, stdenv, fetchCrate, rustPlatform }:
2018-02-12 02:14:02 +01:00
rustPlatform.buildRustPackage rec {
version = "5.0.1";
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;
sha256 = "1g2m6ifmppgq086w3vzdsihnba4qrzmnf5k13bgah2qasnl97qfh";
2018-02-12 02:14:02 +01:00
};
cargoSha256 = "1dkfplmi21wgks8pfxxc3kww89i9wq7fq5j7jm7a8zi59p3xdars";
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
};
}