summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/graphics/gifski
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-03-03 11:02:27 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-03-11 02:33:07 -0500
commit1b493e2555614df62132c3af90d2285c03d3bd50 (patch)
tree97efa207624009ca56e43eca8b60554bb92170e1 /pkgs/tools/graphics/gifski
parentadf0e917998bcb5f923934f3b0816fe64429e57c (diff)
gifski: init at 0.8.7
Diffstat (limited to 'pkgs/tools/graphics/gifski')
-rw-r--r--pkgs/tools/graphics/gifski/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/gifski/default.nix b/pkgs/tools/graphics/gifski/default.nix
new file mode 100644
index 000000000000..958be6c11045
--- /dev/null
+++ b/pkgs/tools/graphics/gifski/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig }:
+
+rustPlatform.buildRustPackage rec {
+ name = "gifski-${version}";
+ version = "0.8.7";
+
+ src = fetchFromGitHub {
+ owner = "ImageOptim";
+ repo = "gifski";
+ rev = version;
+ sha256 = "0x41gyc5jk45jlx0hcq80j5gj1f66lcmbclqyx70l43ggslsi26f";
+ };
+
+ cargoSha256 = "0rgcm9kj9wapn8y3ymcm1n713r0a9bvgm339y302f5gy76gbgzrk";
+
+ nativeBuildInputs = [ pkgconfig ];
+
+ meta = with stdenv.lib; {
+ description = "GIF encoder based on libimagequant (pngquant)";
+ homepage = https://gif.ski/;
+ license = licenses.agpl3;
+ maintainers = [ maintainers.marsam ];
+ };
+}