2019-03-03 16:02:27 +00:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "gifski";
|
2020-08-10 09:43:33 +01:00
|
|
|
version = "1.2.0";
|
2019-03-03 16:02:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ImageOptim";
|
|
|
|
repo = "gifski";
|
|
|
|
rev = version;
|
2020-08-10 09:43:33 +01:00
|
|
|
sha256 = "0yziqgvjjb5bblmm060li7dv1i23gpn0f75jb72z8cdf2wg1qmxb";
|
2019-03-03 16:02:27 +00:00
|
|
|
};
|
|
|
|
|
2020-08-10 09:43:33 +01:00
|
|
|
cargoSha256 = "1y4q6p6hbmpwdpahmspgngm842qrq1srl7319wslq9ydl09m1x3x";
|
2019-03-03 16:02:27 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|