2009-04-07 21:17:22 +02:00
|
|
|
{stdenv, fetchurl, libjpeg, lcms, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-12-25 15:37:56 +01:00
|
|
|
name = "dcraw-8.98";
|
2009-04-07 21:17:22 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-25 15:37:56 +01:00
|
|
|
url = http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-8.98.tar.gz;
|
|
|
|
sha256 = "0vb375m1s5b1d72d9a5apcyxz2b9zl0pycj700yhy2zsfx804kmp";
|
2009-04-07 21:17:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libjpeg lcms gettext ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s@/usr/local@$out@ install
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
ensureDir $out/bin
|
|
|
|
set +e
|
|
|
|
sh install
|
|
|
|
set -e
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.cybercom.net/~dcoffin/dcraw/;
|
|
|
|
description = "Decoder for many camera raw picture formats";
|
|
|
|
license = "free";
|
|
|
|
};
|
|
|
|
}
|