commit
6d7e116d0c
@ -1,26 +1,26 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
version = "2.1.0";
|
version = "2.1.6";
|
||||||
name = "oxipng-${version}";
|
name = "oxipng-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "shssoichiro";
|
owner = "shssoichiro";
|
||||||
repo = "oxipng";
|
repo = "oxipng";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "13rzkfb025y4i9dj66fgc74whgs90gyw861dccsj16cpfl6kh5z0";
|
sha256 = "0n3v2dxybfkf07hb4p2hbhhkwx907b85wzj8wa4whwil89igyrdm";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0l6ad8rnifd5hkv6x2cr0frdddsfwm1xd1v56imlglsjkgz56cva";
|
cargoSha256 = "1ycacwhwbn27i81jpp55m1446b9a50knlqv0kzkjcv8yf27213y9";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/shssoichiro/oxipng;
|
homepage = https://github.com/shssoichiro/oxipng;
|
||||||
description = "A lossless PNG compression optimizer";
|
description = "A multithreaded lossless PNG compression optimizer";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dywedir ];
|
maintainers = with maintainers; [ dywedir ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|
||||||
# macro is_arm_feature_detected! is unstable
|
# Needs newer/unstable rust: error[E0658]: macro is_arm_feature_detected! is unstable
|
||||||
broken = stdenv.isAarch64;
|
broken = stdenv.isAarch64;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user