Adding dcraw again, this time with the whole nix expression.
svn path=/nixpkgs/trunk/; revision=14917
This commit is contained in:
parent
2c3aaf09d1
commit
6f96ae757d
29
pkgs/tools/graphics/dcraw/default.nix
Normal file
29
pkgs/tools/graphics/dcraw/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{stdenv, fetchurl, libjpeg, lcms, gettext }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dcraw-8.93";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-8.93.tar.gz;
|
||||
sha256 = "1vjqfpqr0pczrf8ap3jpar1f98gik9is9v34sv1ridcxx87rniqz";
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
@ -558,11 +558,9 @@ let
|
||||
inherit fetchurl stdenv zlib bzip2 openssl;
|
||||
};
|
||||
|
||||
/*
|
||||
dcraw = import ../tools/graphics/dcraw {
|
||||
inherit fetchurl stdenv gettext libjpeg lcms;
|
||||
};
|
||||
*/
|
||||
|
||||
ddrescue = builderDefsPackage (selectVersion ../tools/system/ddrescue "1.8") {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user