nixpkgs/pkgs/tools/graphics/oxipng/default.nix

23 lines
585 B
Nix
Raw Normal View History

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