2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, pkg-config, fetchFromGitHub, opencv2, ncurses, portaudio }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "p2pvc";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-05-15 21:57:56 +00:00
|
|
|
buildInputs = [ opencv2 ncurses portaudio ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ trino ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|