nixpkgs/pkgs/tools/graphics/gifski/default.nix
2021-01-18 21:16:28 +00:00

25 lines
618 B
Nix

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