2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config }:
|
2019-03-03 16:02:27 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "gifski";
|
2021-01-18 21:16:28 +00:00
|
|
|
version = "1.2.6";
|
2019-03-03 16:02:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ImageOptim";
|
|
|
|
repo = "gifski";
|
|
|
|
rev = version;
|
2021-01-18 21:16:28 +00:00
|
|
|
sha256 = "sha256-pnaNBjMKWfnCHG4MTLS2tJ2lrKxH6tcnvbOFZSDtPJY=";
|
2019-03-03 16:02:27 +00:00
|
|
|
};
|
|
|
|
|
2021-01-18 21:16:28 +00:00
|
|
|
cargoSha256 = "sha256-M5LEoEaWKT6nfQsnuqfyRBtDILewAxzMs7d6DvhkvFg=";
|
2019-03-03 16:02:27 +00:00
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-03-03 16:02:27 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-03-03 16:02:27 +00:00
|
|
|
description = "GIF encoder based on libimagequant (pngquant)";
|
2020-02-21 23:59:26 +00:00
|
|
|
homepage = "https://gif.ski/";
|
2019-03-03 16:02:27 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|