1{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, libuuid }:
2
3stdenv.mkDerivation rec {
4
5 pname = "biblesync";
6 version = "2.1.0";
7
8 src = fetchFromGitHub {
9 owner = "karlkleinpaste";
10 repo = "biblesync";
11 rev = version;
12 sha256 = "0prmd12jq2cjdhsph5v89y38j7hhd51dr3r1hivgkhczr3m5hf4s";
13 };
14
15 nativeBuildInputs = [ pkg-config cmake ];
16 buildInputs = [ libuuid ];
17
18 meta = with lib; {
19 homepage = "https://wiki.crosswire.org/BibleSync";
20 description = "A multicast protocol to Bible software shared conavigation";
21 longDescription = ''
22 BibleSync is a multicast protocol to support Bible software shared
23 co-navigation. It uses LAN multicast in either a personal/small team
24 mutual navigation motif or in a classroom environment where there are
25 Speakers plus the Audience. The library implementing the protocol is a
26 single C++ class providing a complete yet minimal public interface to
27 support mode setting, setup for packet reception, transmit on local
28 navigation, and handling of incoming packets.
29 '';
30 license = licenses.publicDomain;
31 maintainers = [ maintainers.AndersonTorres ];
32 platforms = lib.platforms.linux;
33 };
34}