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

25 lines
621 B
Nix
Raw Normal View History

2019-03-03 08:02:27 -08:00
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig }:
rustPlatform.buildRustPackage rec {
2019-08-31 04:41:23 -07:00
pname = "gifski";
2020-02-21 15:59:26 -08:00
version = "0.10.2";
2019-03-03 08:02:27 -08:00
src = fetchFromGitHub {
owner = "ImageOptim";
repo = "gifski";
rev = version;
2020-02-21 15:59:26 -08:00
sha256 = "0gsk1pagg89q1mi3d28q6dsnanncwphw9lrb7qybppw0vyvqlqbx";
2019-03-03 08:02:27 -08:00
};
2020-02-21 15:59:26 -08:00
cargoSha256 = "0k7pzcll7hn2a354vviyj8dr0kq63cwsldgv303kwklmxji02d0v";
2019-03-03 08:02:27 -08:00
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
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 ];
};
}