summary refs log tree commit diff
path: root/pkgs/by-name/fl/flip/package.nix
blob: f7957c0990b000488093e24cfbbf19b6a80151f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  stdenv,
  lib,
  fetchFromGitHub,
  cmake
}:

stdenv.mkDerivation {
  pname = "flip";
  version = "1.2";

  src = fetchFromGitHub {
    owner = "NVlabs";
    repo = "flip";
    rev = "8303adb2060d69423d040453995f4ad1a030a1cc";
    hash = "sha256-jSB79qOtnW/cjApIDcLRqGabnzCIwS7saA+aF1TcyV0=";
  };

  nativeBuildInputs = [
    cmake
  ];

  enableParallelBuilding = true;

  meta = with lib; {
    description = "A tool for visualizing and communicating the errors in rendered images.";
    license = licenses.bsd3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ zmitchell ];
    mainProgram = "flip";
  };
}