2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkgconfig }:
|
2019-03-03 17:02:27 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "gifski";
|
2020-11-11 08:13:04 +01:00
|
|
|
version = "1.2.4";
|
2019-03-03 17:02:27 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ImageOptim";
|
|
|
|
repo = "gifski";
|
|
|
|
rev = version;
|
2020-11-11 08:13:04 +01:00
|
|
|
sha256 = "0mr4ni75klmzfjivfv5xmcdw03y1gjvkz1d297gwh46zq1q7blf3";
|
2019-03-03 17:02:27 +01:00
|
|
|
};
|
|
|
|
|
2020-11-11 08:13:04 +01:00
|
|
|
cargoSha256 = "0wm139lik6w2hwg72j8hcphp0z89bbabfxjmfyqrih6akyzb0l01";
|
2019-03-03 17:02:27 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|