Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
jpeginfo: init at 1.6.1
Browse files Browse the repository at this point in the history
jpeginfo prints information and tests integrity of JPEG/JFIF files.

(cherry picked from commit 84a2463)
  • Loading branch information
bjornfor committed Dec 3, 2018
1 parent b7162eb commit d45a0d7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pkgs/applications/graphics/jpeginfo/default.nix
@@ -0,0 +1,21 @@
{ stdenv, fetchurl, libjpeg }:

stdenv.mkDerivation rec {
name = "jpeginfo-${version}";
version = "1.6.1";

src = fetchurl {
url = "https://www.kokkonen.net/tjko/src/${name}.tar.gz";
sha256 = "0lvn3pnylyj56158d3ix9w1gas1s29klribw9bz1xym03p7k37k2";
};

buildInputs = [ libjpeg ];

meta = with stdenv.lib; {
description = "Prints information and tests integrity of JPEG/JFIF files";
homepage = "https://www.kokkonen.net/tjko/projects.html";
license = licenses.gpl2Plus;
maintainers = [ maintainers.bjornfor ];
platforms = platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -3410,6 +3410,8 @@ with pkgs;

jp2a = callPackage ../applications/misc/jp2a { };

jpeginfo = callPackage ../applications/graphics/jpeginfo { };

jpegoptim = callPackage ../applications/graphics/jpegoptim { };

jpegrescan = callPackage ../applications/graphics/jpegrescan { };
Expand Down

0 comments on commit d45a0d7

Please sign in to comment.