oxipng: 2.1.8 -> 2.2.0

This commit is contained in:
dywedir 2019-02-02 10:39:30 +02:00
parent bdc7003439
commit 1d19b5bd31
No known key found for this signature in database
GPG Key ID: BE743C5DD7703515
1 changed files with 6 additions and 6 deletions

View File

@ -1,17 +1,20 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
version = "2.1.8";
version = "2.2.0";
name = "oxipng-${version}";
src = fetchFromGitHub {
owner = "shssoichiro";
repo = "oxipng";
rev = "v${version}";
sha256 = "18ld65vm58s6x918g6bhfkrg7lw2lca8daidv88ff14wm5khjvik";
sha256 = "00ys1dy8r1g84j04w50qcjas0qnfw4vphazvbfasd9q2b1p5z69l";
};
cargoSha256 = "034i8hgi0zgv085bimlja1hl3nd096rqpi167pw6rda5aj18c625";
cargoSha256 = "125r3jmgwcq8qddm8hjpyzaam96kkifaxixksyaw2iqk9xq0nrpm";
# https://crates.io/crates/cloudflare-zlib#arm-vs-nightly-rust
cargoBuildFlags = [ "--features=cloudflare-zlib/arm-always" ];
meta = with stdenv.lib; {
homepage = https://github.com/shssoichiro/oxipng;
@ -19,8 +22,5 @@ rustPlatform.buildRustPackage rec {
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];
platforms = platforms.all;
# Needs newer/unstable rust: error[E0658]: macro is_arm_feature_detected! is unstable
broken = stdenv.isAarch64;
};
}