nixpkgs/pkgs/tools/graphics/gifski/default.nix

25 lines
610 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub, pkg-config }:
2019-03-03 08:02:27 -08:00
rustPlatform.buildRustPackage rec {
2019-08-31 04:41:23 -07:00
pname = "gifski";
2021-01-28 18:48:23 -08:00
version = "1.3.1";
2019-03-03 08:02:27 -08:00
src = fetchFromGitHub {
owner = "ImageOptim";
repo = "gifski";
rev = version;
2021-01-28 18:48:23 -08:00
sha256 = "sha256-sB8W5n3FvRAB9ygFg63NecSZgUw8FGk4pzviIbRF2vk=";
2019-03-03 08:02:27 -08:00
};
2021-01-28 18:48:23 -08:00
cargoSha256 = "sha256-0cFk1GnEJxMfY9GvQTdI5tkgtxGkH3ZQFTloo4/C+sY=";
2019-03-03 08:02:27 -08:00
nativeBuildInputs = [ pkg-config ];
2019-03-03 08:02:27 -08:00
meta = with lib; {
2019-03-03 08:02:27 -08:00
description = "GIF encoder based on libimagequant (pngquant)";
2020-02-21 15:59:26 -08:00
homepage = "https://gif.ski/";
2019-03-03 08:02:27 -08:00
license = licenses.agpl3;
maintainers = [ maintainers.marsam ];
};
}