about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2024-03-02 12:11:14 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2024-03-07 22:28:19 -0300
commit569976027846b7646e1a2cc71e82faab24ca697a (patch)
tree5c5dcbe073edbf7bc9a088abbb7052880c0814ae /pkgs/applications/graphics
parentaf2f0e7989b72c32723d75a009157e6e9ae4742f (diff)
nomacs: migrate to by-name
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/nomacs/default.nix90
1 files changed, 0 insertions, 90 deletions
diff --git a/pkgs/applications/graphics/nomacs/default.nix b/pkgs/applications/graphics/nomacs/default.nix
deleted file mode 100644
index 5f4ee57ed94fc..0000000000000
--- a/pkgs/applications/graphics/nomacs/default.nix
+++ /dev/null
@@ -1,90 +0,0 @@
-{ lib
-, cmake
-, exiv2
-, fetchFromGitHub
-, libraw
-, libsForQt5
-, libtiff
-, opencv4
-, pkg-config
-, stdenv
-}:
-
-stdenv.mkDerivation (finalAttrs: {
-  pname = "nomacs";
-  version = "3.17.2295";
-
-  src = fetchFromGitHub {
-    owner = "nomacs";
-    repo = "nomacs";
-    rev = finalAttrs.version;
-    fetchSubmodules = false; # We'll use our own
-    hash = "sha256-jHr7J0X1v2n/ZK0y3b/XPDISk7e08VWS6nicJU4fKKY=";
-  };
-
-  # Because some unknown reason split outputs is breaking on Darwin
-  outputs = if stdenv.isDarwin
-            then [ "out" ]
-            else [ "out" "man" ];
-
-  sourceRoot = "${finalAttrs.src.name}/ImageLounge";
-
-  nativeBuildInputs = [
-    cmake
-    libsForQt5.wrapQtAppsHook
-    pkg-config
-  ];
-
-  buildInputs = [
-    exiv2
-    libraw
-    libtiff
-    opencv4
-  ] ++ (with libsForQt5; [
-    qtbase
-    qtimageformats
-    qtsvg
-    qttools
-    quazip
-  ]);
-
-  cmakeFlags = [
-    (lib.cmakeBool "ENABLE_OPENCV" true)
-    (lib.cmakeBool "ENABLE_QUAZIP" true)
-    (lib.cmakeBool "ENABLE_RAW" true)
-    (lib.cmakeBool "ENABLE_TIFF" true)
-    (lib.cmakeBool "ENABLE_TRANSLATIONS" true)
-    (lib.cmakeBool "USE_SYSTEM_QUAZIP" true)
-  ];
-
-  postInstall = lib.optionalString stdenv.isDarwin ''
-    mkdir -p $out/lib
-    mv $out/libnomacsCore.dylib $out/lib/libnomacsCore.dylib
-  '';
-
-  meta = {
-    homepage = "https://nomacs.org";
-    description = "Qt-based image viewer";
-    longDescription = ''
-      nomacs is a free, open source image viewer, which supports multiple
-      platforms. You can use it for viewing all common image formats including
-      RAW and psd images.
-
-      nomacs features semi-transparent widgets that display additional
-      information such as thumbnails, metadata or histogram. It is able to
-      browse images in zip or MS Office files which can be extracted to a
-      directory. Metadata stored with the image can be displayed and you can add
-      notes to images. A thumbnail preview of the current folder is included as
-      well as a file explorer panel which allows switching between
-      folders. Within a directory you can apply a file filter, so that only
-      images are displayed whose filenames have a certain string or match a
-      regular expression. Activating the cache allows for instantly switching
-      between images.
-    '';
-    changelog = "https://github.com/nomacs/nomacs/releases/tag/${finalAttrs.src.rev}";
-    license = with lib.licenses; [ gpl3Plus ];
-    mainProgram = "nomacs";
-    maintainers = with lib.maintainers; [ AndersonTorres mindavi ];
-    inherit (libsForQt5.qtbase.meta) platforms;
-  };
-})