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

25 lines
618 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";
2019-09-25 09:06:37 +02:00
version = "0.9.1";
2019-03-03 17:02:27 +01:00
src = fetchFromGitHub {
owner = "ImageOptim";
repo = "gifski";
rev = version;
2019-09-25 09:06:37 +02:00
sha256 = "0dl5725imb2a2s0fskdqlnh2207ryyi2v5gz37cr5mf6khz898p2";
2019-03-03 17:02:27 +01:00
};
2019-09-25 09:06:37 +02:00
cargoSha256 = "0wngsd0pmmxlwzxmyp8pvphh1ijs5s9k1mkkv688xpc4b8w0z10j";
2019-03-03 17:02:27 +01:00
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
description = "GIF encoder based on libimagequant (pngquant)";
homepage = https://gif.ski/;
license = licenses.agpl3;
maintainers = [ maintainers.marsam ];
};
}