2021-01-25 09:26:54 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, pkg-config }:
|
2019-03-03 17:02:27 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "gifski";
|
2021-04-28 13:01:05 +02:00
|
|
|
version = "1.4.3";
|
2019-03-03 17:02:27 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ImageOptim";
|
|
|
|
repo = "gifski";
|
|
|
|
rev = version;
|
2021-04-28 13:01:05 +02:00
|
|
|
sha256 = "034csv43vc0q2ycwjfskv1zx08c40ykf1m22fh9wvms0860k2ysn";
|
2019-03-03 17:02:27 +01:00
|
|
|
};
|
|
|
|
|
2021-04-28 13:01:05 +02:00
|
|
|
cargoSha256 = "0jgwf30gqwwpaf2g5zbsglcmsa00vixrnlizvcd41afi1wkjgiyd";
|
2019-03-03 17:02:27 +01:00
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-03-03 17:02:27 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-03-03 17:02:27 +01:00
|
|
|
description = "GIF encoder based on libimagequant (pngquant)";
|
2020-02-22 00:59:26 +01:00
|
|
|
homepage = "https://gif.ski/";
|
2019-03-03 17:02:27 +01:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|