summary refs log tree commit diff
path: root/pkgs/applications/video/p2pvc/default.nix
blob: 219954ff9f20da5394b5a54531714a4606e52b51 (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
{ stdenv, pkgconfig, fetchFromGitHub, opencv, ncurses, portaudio }:

stdenv.mkDerivation {
  name = "p2pvc";

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ opencv ncurses portaudio ];

  enableParallelBuilding = true;

  installPhase = "mkdir -p $out/bin; cp p2pvc $out/bin/";

  src = fetchFromGitHub {
    owner = "mofarrell";
    repo = "p2pvc";
    rev = "d7b1c70288a7750fc8f9a22dbddbe51d34b5b9e5";
    sha256 = "0d4vvrsjad5gk4rrjwgydn9ffj12jfb4aksw2px6jw75hp9pzmka";
  };

  meta = {
    description = "A point to point color terminal video chat";
    homepage = "https://github.com/mofarrell/p2pvc";
    license = stdenv.lib.licenses.mit;
    maintainers = with stdenv.lib.maintainers; [ trino ];
    platforms = with stdenv.lib.platforms; linux;
  };
}