2018-02-12 02:14:02 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2018-02-23 08:56:41 +01:00
|
|
|
version = "1.0.1";
|
2018-02-12 02:14:02 +01:00
|
|
|
name = "oxipng-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shssoichiro";
|
|
|
|
repo = "oxipng";
|
|
|
|
rev = "v${version}";
|
2018-02-23 08:56:41 +01:00
|
|
|
sha256 = "0w39f0dhq9cxk25vy0wh8vicxyckvj1vmglx5va4550i3q0hsrws";
|
2018-02-12 02:14:02 +01:00
|
|
|
};
|
|
|
|
|
2018-02-23 08:56:41 +01:00
|
|
|
cargoSha256 = "00nbx6n73yl4ax05pqkmim1vhy0pymgz5la1cc4y18gjbjjj9w4h";
|
2018-02-12 02:14:02 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/shssoichiro/oxipng;
|
|
|
|
description = "A lossless PNG compression optimizer";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|