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

25 lines
610 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub, pkg-config }:
2019-03-03 17:02:27 +01:00
rustPlatform.buildRustPackage rec {
2019-08-31 13:41:23 +02:00
pname = "gifski";
2021-02-06 13:02:28 +01:00
version = "1.3.3";
2019-03-03 17:02:27 +01:00
src = fetchFromGitHub {
owner = "ImageOptim";
repo = "gifski";
rev = version;
2021-02-06 13:02:28 +01:00
sha256 = "sha256-dBgDIS6U2iKzyo5nO0NOD488zfEbaZJH7luJN6khrnc=";
2019-03-03 17:02:27 +01:00
};
2021-02-06 13:02:28 +01:00
cargoSha256 = "sha256-/i5ZBCWFlhoheHsCI5f9yJ7sa6l/DB4AJckq5orinwI=";
2019-03-03 17:02:27 +01:00
nativeBuildInputs = [ pkg-config ];
2019-03-03 17:02:27 +01:00
meta = with lib; {
2019-03-03 17:02:27 +01:00
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 ];
};
}