Skip to content

Commit

Permalink
oxipng: 3.0.1 -> 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dywedir authored and Jonathan Ringer committed Nov 11, 2020
1 parent 21bc6aa commit a52b343
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions pkgs/tools/graphics/oxipng/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
{ stdenv, fetchCrate, rustPlatform }:

rustPlatform.buildRustPackage rec {
version = "3.0.1";
version = "4.0.0";
pname = "oxipng";

src = fetchFromGitHub {
owner = "shssoichiro";
repo = pname;
rev = "v${version}";
sha256 = "11lncwxksm7aqczy9ay1qnba2wmgfsirhgrl6vv1jlgj41b7mzi5";
src = fetchCrate {
inherit version pname;
sha256 = "0p9h006l75ci324lbcx496732pb77srcd46g6dnfw3mcrg33cspc";
};

cargoSha256 = "0lalb981qzlnmqfg170mh6lnc0qlzb94wc39mf859g2jvxk3pkrl";

# https://crates.io/crates/cloudflare-zlib#arm-vs-nightly-rust
cargoBuildFlags = [ "--features=cloudflare-zlib/arm-always" ];
cargoSha256 = "1r2zw7p95abxqc31b5gswdyhm4msxsiml34dsh9x8zydhqnwy17j";

doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;

Expand Down

0 comments on commit a52b343

Please sign in to comment.