diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-10-11 15:52:14 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-10-11 15:52:14 +0000 |
commit | ebe0bc809debea3401e0c78c185edbf3b496801a (patch) | |
tree | e8b171bde7f7324f1ca39831286f17bc1e82d440 /pkgs/tools | |
parent | 585654955fd979c76dab180892e3e9eb608dc7b5 (diff) |
Adding jhead
svn path=/nixpkgs/trunk/; revision=17747
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/graphics/jhead/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/jhead/default.nix b/pkgs/tools/graphics/jhead/default.nix new file mode 100644 index 0000000000000..2d98a1efdce11 --- /dev/null +++ b/pkgs/tools/graphics/jhead/default.nix @@ -0,0 +1,25 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "jhead-2.87"; + + src = fetchurl { + url = http://www.sentex.net/~mwandel/jhead/jhead-2.87.tar.gz; + sha256 = "0vpp5jz49w5qzjzq3vllrbff7fr906jy8a8sq12yq8kw6qwbjjsl"; + }; + + patchPhase = '' + sed -i s@/usr/bin@$out/bin@ makefile + ''; + + preInstall = '' + ensureDir $out/bin + ''; + + meta = { + homepage = http://www.sentex.net/~mwandel/jhead/; + description = "Exif Jpeg header manipulation tool"; + license = "free"; + maintainers = with stdenv.lib.maintainers; [viric]; + }; +} |