summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators/contour/default.nix
blob: 6ef16a5b9e4852ce002a1b9cf27a48dcb376611f (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
{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, pkg-config, freetype, libGL, pcre }:

mkDerivation rec {
  pname = "contour";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "christianparpart";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-P7t+M75ZWjFcGWngcbaurdit6e+pb0ILljimhYqW0NI=";
    fetchSubmodules = true;
  };

  nativeBuildInputs = [ cmake pkg-config ];

  buildInputs = [ freetype libGL pcre ];

  meta = with lib; {
    description = "Modern C++ Terminal Emulator";
    homepage = "https://github.com/christianparpart/contour";
    changelog = "https://github.com/christianparpart/contour/blob/HEAD/Changelog.md";
    license = licenses.asl20;
    maintainers = with maintainers; [ fortuneteller2k ];
    platforms = platforms.unix;
    broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/staging-next/contour.x86_64-darwin
  };
}