mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Adding jhead
svn path=/nixpkgs/trunk/; revision=17747
This commit is contained in:
parent
585654955f
commit
ebe0bc809d
25
pkgs/tools/graphics/jhead/default.nix
Normal file
25
pkgs/tools/graphics/jhead/default.nix
Normal file
@ -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];
|
||||
};
|
||||
}
|
@ -963,6 +963,10 @@ let
|
||||
inherit fetchurl stdenv unzip jdk;
|
||||
};
|
||||
|
||||
jhead = import ../tools/graphics/jhead {
|
||||
inherit stdenv fetchurl;
|
||||
};
|
||||
|
||||
jing = import ../tools/text/xml/jing {
|
||||
inherit fetchurl stdenv unzip;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user