forked from mirrors/nixpkgs
Adding exiftags
svn path=/nixpkgs/trunk/; revision=17748
This commit is contained in:
parent
ebe0bc809d
commit
fa036cce46
25
pkgs/tools/graphics/exiftags/default.nix
Normal file
25
pkgs/tools/graphics/exiftags/default.nix
Normal file
|
@ -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];
|
||||
};
|
||||
}
|
|
@ -698,6 +698,11 @@ let
|
|||
inherit fetchurl stdenv pkgconfig libexif popt;
|
||||
};
|
||||
|
||||
exiftags = import ../tools/graphics/exiftags {
|
||||
inherit stdenv fetchurl;
|
||||
};
|
||||
|
||||
|
||||
expect = import ../tools/misc/expect {
|
||||
inherit fetchurl stdenv tcl tk autoconf;
|
||||
inherit (xorg) xproto libX11;
|
||||
|
|
Loading…
Reference in a new issue