diff options
Diffstat (limited to 'pkgs/applications/graphics/tev/default.nix')
-rw-r--r-- | pkgs/applications/graphics/tev/default.nix | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/pkgs/applications/graphics/tev/default.nix b/pkgs/applications/graphics/tev/default.nix deleted file mode 100644 index 6ab953020c60..000000000000 --- a/pkgs/applications/graphics/tev/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib, stdenv, fetchFromGitHub -, cmake, wrapGAppsHook3 -, libX11, libzip, glfw, libpng, xorg, zenity -}: - -stdenv.mkDerivation rec { - pname = "tev"; - version = "1.27"; - - src = fetchFromGitHub { - owner = "Tom94"; - repo = pname; - rev = "v${version}"; - fetchSubmodules = true; - hash = "sha256-+qCRHP0AbYOQBAE4zK2cmWPHZGWjjxC3DZPNm8sgBzs="; - }; - - nativeBuildInputs = [ cmake wrapGAppsHook3 ]; - buildInputs = [ libX11 libzip glfw libpng ] - ++ (with xorg; [ libXrandr libXinerama libXcursor libXi libXxf86vm libXext ]); - - dontWrapGApps = true; # We also need zenity (see below) - - cmakeFlags = [ - "-DTEV_DEPLOY=1" # Only relevant not to append "dev" to the version - ]; - - postInstall = '' - wrapProgram $out/bin/tev \ - "''${gappsWrapperArgs[@]}" \ - --prefix PATH ":" "${zenity}/bin" - ''; - - env.CXXFLAGS = "-include cstdint"; - - meta = with lib; { - description = "High dynamic range (HDR) image comparison tool"; - mainProgram = "tev"; - longDescription = '' - A high dynamic range (HDR) image comparison tool for graphics people. tev - allows viewing images through various tonemapping operators and inspecting - the values of individual pixels. Often, it is important to find exact - differences between pairs of images. For this purpose, tev allows rapidly - switching between opened images and visualizing various error metrics (L1, - L2, and relative versions thereof). To avoid clutter, opened images and - their layers can be filtered by keywords. - While the predominantly supported file format is OpenEXR certain other - types of images can also be loaded. - ''; - inherit (src.meta) homepage; - changelog = "https://github.com/Tom94/tev/releases/tag/v${version}"; - license = licenses.bsd3; - platforms = platforms.unix; - broken = stdenv.isDarwin; # needs apple frameworks + SDK fix? see #205247 - maintainers = [ ]; - }; -} |