oxipng: 3.0.1 -> 4.0.0
This commit is contained in:
parent
21bc6aaf19
commit
a52b343b39
|
@ -1,20 +1,15 @@
|
||||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
{ stdenv, fetchCrate, rustPlatform }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
version = "3.0.1";
|
version = "4.0.0";
|
||||||
pname = "oxipng";
|
pname = "oxipng";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchCrate {
|
||||||
owner = "shssoichiro";
|
inherit version pname;
|
||||||
repo = pname;
|
sha256 = "0p9h006l75ci324lbcx496732pb77srcd46g6dnfw3mcrg33cspc";
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "11lncwxksm7aqczy9ay1qnba2wmgfsirhgrl6vv1jlgj41b7mzi5";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0lalb981qzlnmqfg170mh6lnc0qlzb94wc39mf859g2jvxk3pkrl";
|
cargoSha256 = "1r2zw7p95abxqc31b5gswdyhm4msxsiml34dsh9x8zydhqnwy17j";
|
||||||
|
|
||||||
# https://crates.io/crates/cloudflare-zlib#arm-vs-nightly-rust
|
|
||||||
cargoBuildFlags = [ "--features=cloudflare-zlib/arm-always" ];
|
|
||||||
|
|
||||||
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
|
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue