85f96822a0
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
23 lines
601 B
Nix
23 lines
601 B
Nix
{ lib, stdenv, fetchCrate, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
version = "4.0.3";
|
|
pname = "oxipng";
|
|
|
|
src = fetchCrate {
|
|
inherit version pname;
|
|
sha256 = "sha256-lvVgoAZMIqmbS6yMul9Hf9PtneEVy+jDs3kU1jSBL2w=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-sxvOFxSZCANBa/448SpjoLqk/HjqtaFrOhjrQro446Q=";
|
|
|
|
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/shssoichiro/oxipng";
|
|
description = "A multithreaded lossless PNG compression optimizer";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dywedir ];
|
|
};
|
|
}
|