10801de6f7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/nomacs/versions. Version release notes (from GitHub): - anti-aliasing improved - printing improved - print multiple pages from thumbnail preview - animiated WebP support - JPG compressed TIFFs supported - batch cropping added - PSD lib updated - new translations: Bosnian, Croation, and Serbian - Updates (Windows) - Qt 5.9.3 -> 5.11.0 - OpenCV 3.3.1 -> 3.4.1 These checks were done: - built on NixOS - Warning: no invocation of /nix/store/q71m1n5mjk79cas4z1f27hf7z529i3i1-nomacs-3.10.0/bin/nomacs had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/q71m1n5mjk79cas4z1f27hf7z529i3i1-nomacs-3.10.0/bin/.nomacs-wrapped had a zero exit code or showed the expected version - 0 of 2 passed binary check by having a zero exit code. - 0 of 2 passed binary check by having the new version present in output. - found 3.10.0 with grep in /nix/store/q71m1n5mjk79cas4z1f27hf7z529i3i1-nomacs-3.10.0 - directory tree listing: https://gist.github.com/14846463d97d16523c214bc8bd8979fe - du listing: https://gist.github.com/51e595d9a157c9038cf94e72d01952c5
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, makeWrapper
|
|
, pkgconfig
|
|
, wrapGAppsHook
|
|
, gsettings-desktop-schemas
|
|
|
|
, qtbase
|
|
, qttools
|
|
, qtsvg
|
|
|
|
, exiv2
|
|
, opencv
|
|
, libraw
|
|
, libtiff
|
|
, quazip
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.10.0";
|
|
src = fetchFromGitHub {
|
|
owner = "nomacs";
|
|
repo = "nomacs";
|
|
rev = version;
|
|
sha256 = "07k921r4m6p5kicyb55zdfp58m8mlc94g2csq354d7v20m71zwrv";
|
|
};
|
|
|
|
name = "nomacs-${version}";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
setSourceRoot = ''
|
|
sourceRoot=$(echo */ImageLounge)
|
|
'';
|
|
|
|
nativeBuildInputs = [cmake
|
|
pkgconfig
|
|
wrapGAppsHook];
|
|
|
|
buildInputs = [qtbase
|
|
qttools
|
|
qtsvg
|
|
exiv2
|
|
opencv
|
|
libraw
|
|
libtiff
|
|
quazip
|
|
gsettings-desktop-schemas];
|
|
|
|
cmakeFlags = ["-DENABLE_OPENCV=ON"
|
|
"-DENABLE_RAW=ON"
|
|
"-DENABLE_TIFF=ON"
|
|
"-DENABLE_QUAZIP=ON"
|
|
"-DUSE_SYSTEM_QUAZIP=ON"];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://nomacs.org;
|
|
description = "Qt-based image viewer";
|
|
maintainers = [maintainers.ahmedtd];
|
|
license = licenses.gpl3Plus;
|
|
repositories.git = https://github.com/nomacs/nomacs.git;
|
|
inherit (qtbase.meta) platforms;
|
|
};
|
|
}
|