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

25 lines
621 B
Nix
Raw Normal View History

2019-03-03 17:02:27 +01:00
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig }:
rustPlatform.buildRustPackage rec {
2019-08-31 13:41:23 +02:00
pname = "gifski";
2020-04-16 19:21:49 +02:00
version = "0.10.4";
2019-03-03 17:02:27 +01:00
src = fetchFromGitHub {
owner = "ImageOptim";
repo = "gifski";
rev = version;
2020-04-16 19:21:49 +02:00
sha256 = "1ly465y435cha22rmnq632hgq2s7y0akrcna6m30f6l078br8mhn";
2019-03-03 17:02:27 +01:00
};
2020-04-16 19:21:49 +02:00
cargoSha256 = "0khfkh1ylqv4v5dsb4hsha5fh3b62hcvkp3swplv64h626p3q54s";
2019-03-03 17:02:27 +01:00
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
description = "GIF encoder based on libimagequant (pngquant)";
2020-02-22 00:59:26 +01:00
homepage = "https://gif.ski/";
2019-03-03 17:02:27 +01:00
license = licenses.agpl3;
maintainers = [ maintainers.marsam ];
};
}