depot/third_party/nixpkgs/pkgs/applications/video/p2pvc/default.nix
Default email 66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00

27 lines
771 B
Nix

{ stdenv, pkgconfig, fetchFromGitHub, opencv2, ncurses, portaudio }:
stdenv.mkDerivation {
name = "p2pvc";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ opencv2 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;
};
}