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";
|
2019-09-25 08:06:37 +01:00
|
|
|
version = "0.9.1";
|
2019-03-03 16:02:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ImageOptim";
|
|
|
|
repo = "gifski";
|
|
|
|
rev = version;
|
2019-09-25 08:06:37 +01:00
|
|
|
sha256 = "0dl5725imb2a2s0fskdqlnh2207ryyi2v5gz37cr5mf6khz898p2";
|
2019-03-03 16:02:27 +00:00
|
|
|
};
|
|
|
|
|
2020-02-14 02:00:26 +00:00
|
|
|
# Delete this on next update; see #79975 for details
|
|
|
|
legacyCargoFetcher = true;
|
|
|
|
|
2019-09-25 08:06:37 +01:00
|
|
|
cargoSha256 = "0wngsd0pmmxlwzxmyp8pvphh1ijs5s9k1mkkv688xpc4b8w0z10j";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|