2014-08-03 05:38:43 -07:00
|
|
|
{stdenv, fetchurl, libjpeg, lcms2, gettext, jasper }:
|
2009-04-07 12:17:22 -07:00
|
|
|
|
2010-09-26 12:40:00 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-25 11:06:58 -07:00
|
|
|
name = "dcraw-9.26.0";
|
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";
|
2015-10-25 11:06:58 -07:00
|
|
|
sha256 = "18zvzaxjq1yaj90xm8bwb30lqbjyjyp002bp175dayh3kr91syc5";
|
2009-04-07 12:17:22 -07:00
|
|
|
};
|
|
|
|
|
2014-08-03 05:38:43 -07:00
|
|
|
buildInputs = [ libjpeg lcms2 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";
|
2014-11-05 16:44:33 -08:00
|
|
|
license = stdenv.lib.licenses.free;
|
2014-08-09 03:28:16 -07:00
|
|
|
platforms = with stdenv.lib.platforms; allBut cygwin;
|
2017-03-27 10:11:17 -07:00
|
|
|
maintainers = [ ];
|
2009-04-07 12:17:22 -07:00
|
|
|
};
|
|
|
|
}
|