2019-03-03 16:02:27 +00:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "gifski-${version}";
|
|
|
|
version = "0.8.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ImageOptim";
|
|
|
|
repo = "gifski";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0x41gyc5jk45jlx0hcq80j5gj1f66lcmbclqyx70l43ggslsi26f";
|
|
|
|
};
|
|
|
|
|
2019-05-25 12:03:08 +01:00
|
|
|
cargoSha256 = "1pik6jcxg3amb5widpxn8j9szghbrhl0wsxjisizas3033xzrhcf";
|
2019-03-03 16:02:27 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GIF encoder based on libimagequant (pngquant)";
|
|
|
|
homepage = https://gif.ski/;
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|