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

28 lines
703 B
Nix
Raw Normal View History

2019-03-03 16:02:27 +00:00
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig }:
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "gifski";
2019-09-25 07:06:37 +00:00
version = "0.9.1";
2019-03-03 16:02:27 +00:00
src = fetchFromGitHub {
owner = "ImageOptim";
repo = "gifski";
rev = version;
2019-09-25 07:06:37 +00:00
sha256 = "0dl5725imb2a2s0fskdqlnh2207ryyi2v5gz37cr5mf6khz898p2";
2019-03-03 16:02:27 +00:00
};
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
2019-09-25 07:06:37 +00:00
cargoSha256 = "0wngsd0pmmxlwzxmyp8pvphh1ijs5s9k1mkkv688xpc4b8w0z10j";
2019-03-03 16:02:27 +00:00
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
description = "GIF encoder based on libimagequant (pngquant)";
homepage = https://gif.ski/;
license = licenses.agpl3;
maintainers = [ maintainers.marsam ];
};
}