summary refs log tree commit diff
path: root/pkgs/tools/graphics/exiftags
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/graphics/exiftags')
-rw-r--r--pkgs/tools/graphics/exiftags/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/exiftags/default.nix b/pkgs/tools/graphics/exiftags/default.nix
new file mode 100644
index 000000000000..32048db4154e
--- /dev/null
+++ b/pkgs/tools/graphics/exiftags/default.nix
@@ -0,0 +1,25 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation {
+  name = "exiftags-1.01";
+
+  src = fetchurl {
+    url = http://johnst.org/sw/exiftags/exiftags-1.01.tar.gz;
+    sha256 = "194ifl6hybx2a5x8jhlh9i56k3qfc6p2l72z0ii1b7v0bzg48myr";
+  };
+
+  patchPhase = ''
+    sed -i -e s@/usr/local@$out@ Makefile
+  '';
+
+  preInstall = ''
+    ensureDir $out/bin $out/man/man1
+  '';
+
+  meta = {
+    homepage = http://johnst.org/sw/exiftags/;
+    description = "Displays EXIF data from JPEG files";
+    license = "free";
+    maintainers = with stdenv.lib.maintainers; [viric];
+  };
+}