2021-01-15 06:42:41 +01:00
|
|
|
{ lib, stdenv, pkgconfig, fetchFromGitHub, opencv2, ncurses, portaudio }:
|
2015-03-17 21:04:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "p2pvc";
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2020-05-05 12:03:02 +02:00
|
|
|
buildInputs = [ opencv2 ncurses portaudio ];
|
2015-03-17 21:04:05 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
installPhase = "mkdir -p $out/bin; cp p2pvc $out/bin/";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mofarrell";
|
|
|
|
repo = "p2pvc";
|
|
|
|
rev = "d7b1c70288a7750fc8f9a22dbddbe51d34b5b9e5";
|
|
|
|
sha256 = "0d4vvrsjad5gk4rrjwgydn9ffj12jfb4aksw2px6jw75hp9pzmka";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2015-03-18 10:11:41 +01:00
|
|
|
description = "A point to point color terminal video chat";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/mofarrell/p2pvc";
|
2021-01-15 06:42:41 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ trino ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2015-03-17 21:04:05 +01:00
|
|
|
};
|
|
|
|
}
|