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