1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/tools/graphics/dcraw/default.nix
R. RyanTM 276bf53ae9 dcraw: 9.27.0 -> 9.28.0 (#41716)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/dcraw/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0/bin/dcraw had a zero exit code or showed the expected version
- 0 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 9.28.0 with grep in /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0
- directory tree listing: https://gist.github.com/6f620f3965b3cc4522f8f02eaf1115da
- du listing: https://gist.github.com/835f683cdb46fe5ac50f063aeb7d0226
2018-06-08 19:22:23 +02:00

30 lines
727 B
Nix

{stdenv, fetchurl, libjpeg, lcms2, gettext, jasper }:
stdenv.mkDerivation rec {
name = "dcraw-9.28.0";
src = fetchurl {
url = "http://www.cybercom.net/~dcoffin/dcraw/archive/${name}.tar.gz";
sha256 = "1fdl3xa1fbm71xzc3760rsjkvf0x5jdjrvdzyg2l9ka24vdc7418";
};
buildInputs = [ libjpeg lcms2 gettext jasper ];
patchPhase = ''
sed -i -e s@/usr/local@$out@ install
'';
buildPhase = ''
mkdir -p $out/bin
sh install
'';
meta = {
homepage = http://www.cybercom.net/~dcoffin/dcraw/;
description = "Decoder for many camera raw picture formats";
license = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
maintainers = [ ];
};
}