2014-08-03 14:38:43 +02:00
|
|
|
{stdenv, fetchurl, libjpeg, lcms2, gettext, jasper }:
|
2009-04-07 21:17:22 +02:00
|
|
|
|
2010-09-26 21:40:00 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2014-08-03 14:27:03 +02:00
|
|
|
name = "dcraw-9.22";
|
2009-04-07 21:17:22 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-09-26 21:40:00 +02:00
|
|
|
url = "http://www.cybercom.net/~dcoffin/dcraw/archive/${name}.tar.gz";
|
2014-08-03 14:38:43 +02:00
|
|
|
sha256 = "00dz85fr5r9k3nlwdbdi30fpqr8wihamzpyair7l7zk0vkrax402";
|
2009-04-07 21:17:22 +02:00
|
|
|
};
|
|
|
|
|
2014-08-03 14:38:43 +02:00
|
|
|
buildInputs = [ libjpeg lcms2 gettext jasper ];
|
2009-04-07 21:17:22 +02:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s@/usr/local@$out@ install
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2009-04-07 21:17:22 +02:00
|
|
|
sh install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.cybercom.net/~dcoffin/dcraw/;
|
|
|
|
description = "Decoder for many camera raw picture formats";
|
|
|
|
license = "free";
|
2014-08-09 12:28:16 +02:00
|
|
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
2010-09-26 21:40:00 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2009-04-07 21:17:22 +02:00
|
|
|
};
|
|
|
|
}
|