Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 21bc6aaf19b0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a52b343b3971
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 11, 2020

  1. oxipng: 3.0.1 -> 4.0.0

    dywedir authored and Jonathan Ringer committed Nov 11, 2020
    Copy the full SHA
    a52b343 View commit details
Showing with 6 additions and 11 deletions.
  1. +6 −11 pkgs/tools/graphics/oxipng/default.nix
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;