nixpkgs/pkgs/tools/graphics/gifski/default.nix
2020-04-16 17:21:49 +00:00

25 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 ];
};
}