depot/third_party/nixpkgs/pkgs/tools/graphics/gifski/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
621 B
Nix

{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig }:
rustPlatform.buildRustPackage rec {
pname = "gifski";
version = "0.10.4";
src = fetchFromGitHub {
owner = "ImageOptim";
repo = "gifski";
rev = version;
sha256 = "1ly465y435cha22rmnq632hgq2s7y0akrcna6m30f6l078br8mhn";
};
cargoSha256 = "0khfkh1ylqv4v5dsb4hsha5fh3b62hcvkp3swplv64h626p3q54s";
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
description = "GIF encoder based on libimagequant (pngquant)";
homepage = "https://gif.ski/";
license = licenses.agpl3;
maintainers = [ maintainers.marsam ];
};
}