2009-04-07 21:17:22 +02:00
|
|
|
{stdenv, fetchurl, libjpeg, lcms, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-04-27 16:42:49 +02:00
|
|
|
name = "dcraw-8.99";
|
2009-04-07 21:17:22 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-04-27 16:42:49 +02:00
|
|
|
url = http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-8.99.tar.gz;
|
|
|
|
sha256 = "0w557lsrj8fs666cxzhhv1rigmy705bnkn94rn856dwck59l3ipq";
|
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";
|
|
|
|
};
|
|
|
|
}
|