1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/tools/graphics/gifski/default.nix

25 lines
620 B
Nix
Raw Normal View History

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