3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #71241 from dywedir/oxipng

oxipng: 2.2.2 -> 2.3.0
This commit is contained in:
Renaud 2019-10-18 10:26:49 +02:00 committed by GitHub
commit a87d46c860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,23 @@
{ stdenv, fetchFromGitHub, rustPlatform }: { stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
version = "2.2.2"; version = "2.3.0";
pname = "oxipng"; pname = "oxipng";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "shssoichiro"; owner = "shssoichiro";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "07amczmyqs09zfp564nk8jy1n65y8pvk89qq6jv5k8npai8zvixn"; sha256 = "1cx026g1gdvk4qmnrbsmg46y2lizx0wqny25hhdjnh9pwzjc77mh";
}; };
cargoSha256 = "1fkghjzsyg27n6k2yki0yhbdmmb1whgy5fjpydpjm4yv448nhhbm"; cargoSha256 = "1213mg7xhv9ymgm0xqdai5wgammz9n07whw2d42m83208k94zss3";
# https://crates.io/crates/cloudflare-zlib#arm-vs-nightly-rust # https://crates.io/crates/cloudflare-zlib#arm-vs-nightly-rust
cargoBuildFlags = [ "--features=cloudflare-zlib/arm-always" ]; cargoBuildFlags = [ "--features=cloudflare-zlib/arm-always" ];
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/shssoichiro/oxipng; homepage = https://github.com/shssoichiro/oxipng;
description = "A multithreaded lossless PNG compression optimizer"; description = "A multithreaded lossless PNG compression optimizer";