summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/jpeginfo
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2018-12-03 07:40:29 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2018-12-03 17:03:48 +0100
commit84a2463499d7e67350277e0f02cdb4412d0262cf (patch)
tree7e3dd3a46c17a8e24f6643e9165369a9d66f1a53 /pkgs/applications/graphics/jpeginfo
parentfc459de60e9503d7271d46e7e03a211d874a88f5 (diff)
jpeginfo: init at 1.6.1
jpeginfo prints information and tests integrity of JPEG/JFIF files.
Diffstat (limited to 'pkgs/applications/graphics/jpeginfo')
-rw-r--r--pkgs/applications/graphics/jpeginfo/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/jpeginfo/default.nix b/pkgs/applications/graphics/jpeginfo/default.nix
new file mode 100644
index 000000000000..f438bf6f7ed8
--- /dev/null
+++ b/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;
+ };
+}