1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/tools/graphics/jhead/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

26 lines
546 B
Nix

{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 = ''
mkdir -p $out/bin
'';
meta = {
homepage = http://www.sentex.net/~mwandel/jhead/;
description = "Exif Jpeg header manipulation tool";
license = "free";
maintainers = with stdenv.lib.maintainers; [viric];
};
}