nufraw: init at 0.43-3

`nufraw` is used to manipulate raw images.
`nufraw-thumbnailer` is used to generate thumbnails for raw images.

relates #108444

+82
+1
nixos/modules/config/system-path.nix
··· 144 144 "/share/kservicetypes5" 145 145 "/share/kxmlgui5" 146 146 "/share/systemd" 147 + "/share/thumbnailers" 147 148 ]; 148 149 149 150 system.path = pkgs.buildEnv {
+71
pkgs/applications/graphics/nufraw/default.nix
··· 1 + { stdenv 2 + , fetchurl 3 + , lib 4 + 5 + , autoreconfHook 6 + , bzip2 7 + , cfitsio 8 + , exiv2 9 + , gettext 10 + , gtk2 11 + , gtkimageview 12 + , lcms2 13 + , lensfun 14 + , libjpeg 15 + , libtiff 16 + , perl 17 + , pkg-config 18 + , zlib 19 + 20 + , addThumbnailer ? false 21 + }: 22 + 23 + stdenv.mkDerivation rec { 24 + pname = "nufraw"; 25 + version = "0.43-3"; 26 + 27 + src = fetchurl { 28 + url = "mirror://sourceforge/nufraw/nufraw-${version}.tar.gz"; 29 + sha256 = "0b63qvw9r8kaqw36bk3a9zwxc41h8fr6498indkw4glrj0awqz9c"; 30 + }; 31 + 32 + nativeBuildInputs = [ autoreconfHook gettext perl pkg-config ]; 33 + 34 + buildInputs = [ 35 + bzip2 36 + cfitsio 37 + exiv2 38 + gtk2 39 + gtkimageview 40 + lcms2 41 + lensfun 42 + libjpeg 43 + libtiff 44 + zlib 45 + ]; 46 + 47 + configureFlags = [ 48 + "--enable-contrast" 49 + "--enable-dst-correction" 50 + ]; 51 + 52 + postInstall = lib.optionalString addThumbnailer '' 53 + mkdir -p $out/share/thumbnailers 54 + substituteAll ${./nufraw.thumbnailer} $out/share/thumbnailers/${pname}.thumbnailer 55 + ''; 56 + 57 + meta = with stdenv.lib; { 58 + homepage = "https://nufraw.sourceforge.io/"; 59 + description = "Utility to read and manipulate raw images from digital cameras"; 60 + longDescription = 61 + '' 62 + A new version of the popular raw digital images manipulator ufraw. 63 + Forks from the version 0.23 of ufraw (that's why the first nufraw version is the 0.24). 64 + Nufraw offers the same features (gimp plugin, batch, ecc) and the same quality of 65 + ufraw in a brand new improved user interface. 66 + ''; 67 + license = licenses.gpl2Plus; 68 + maintainers = with maintainers; [ asbachb ]; 69 + platforms = [ "x86_64-linux" "i686-linux" ]; 70 + }; 71 + }
+4
pkgs/applications/graphics/nufraw/nufraw.thumbnailer
··· 1 + [Thumbnailer Entry] 2 + TryExec=@out@/bin/nufraw-batch 3 + Exec=@out@/bin/nufraw-batch --silent --size %s --out-type=png --noexif --output=%o --embedded-image %i 4 + MimeType=image/x-canon-cr2;image/x-canon-crw;image/x-minolta-mrw;image/x-nikon-nef;image/x-pentax-pef;image/x-panasonic-rw2;image/x-panasonic-raw2;image/x-samsung-srw;image/x-olympus-orf;image/x-sony-arw
+6
pkgs/top-level/all-packages.nix
··· 23504 23504 23505 23505 muchsync = callPackage ../applications/networking/mailreaders/notmuch/muchsync.nix { }; 23506 23506 23507 + nufraw = callPackage ../applications/graphics/nufraw/default.nix { }; 23508 + 23509 + nufraw-thumbnailer = callPackage ../applications/graphics/nufraw/default.nix { 23510 + addThumbnailer = true; 23511 + }; 23512 + 23507 23513 notmuch-addrlookup = callPackage ../applications/networking/mailreaders/notmuch-addrlookup { }; 23508 23514 23509 23515 nova-filters = callPackage ../applications/audio/nova-filters { };