diff --git a/pkgs/development/libraries/biblesync/default.nix b/pkgs/development/libraries/biblesync/default.nix index bc62f6d47ad3..54a4fa7a686e 100644 --- a/pkgs/development/libraries/biblesync/default.nix +++ b/pkgs/development/libraries/biblesync/default.nix @@ -1,30 +1,30 @@ -{ stdenv, fetchurl, pkgconfig, cmake, libuuid }: +{ stdenv, fetchFromGitHub, pkgconfig, cmake, libuuid }: -with stdenv.lib; -stdenv.mkDerivation rec{ +stdenv.mkDerivation rec { pname = "biblesync"; - version = "1.1.2"; + version = "2.0.1"; - src = fetchurl{ - url = "mirror://sourceforge/project/gnomesword/BibleSync/1.1.2/${pname}-${version}.tar.gz"; - sha256 = "0190q2da0ppif2242lahl8xfz01n9sijy60aq1a0545qcp0ilvl8"; + src = fetchFromGitHub { + owner = "karlkleinpaste"; + repo = "biblesync"; + rev = version; + sha256 = "1baq2fwf6132i514xrvq05p2gy98mkg1rn5whf9q5k475q81nrlr"; }; - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ cmake libuuid ]; + nativeBuildInputs = [ pkgconfig cmake ]; + buildInputs = [ libuuid ]; - meta = { - homepage = "http://www.crosswire.org/wiki/BibleSync"; + meta = with stdenv.lib; { + homepage = http://www.crosswire.org/wiki/BibleSync; description = "A multicast protocol to Bible software shared conavigation"; longDescription = '' - BibleSync is a multicast protocol to support Bible software - shared co-navigation. It uses LAN multicast in either a - personal/small team mutual navigation motif or in a classroom - environment where there are Speakers plus the Audience. The - library implementing the protocol is a single C++ class - providing a complete yet minimal public interface to support - mode setting, setup for packet reception, transmit on local + BibleSync is a multicast protocol to support Bible software shared + co-navigation. It uses LAN multicast in either a personal/small team + mutual navigation motif or in a classroom environment where there are + Speakers plus the Audience. The library implementing the protocol is a + single C++ class providing a complete yet minimal public interface to + support mode setting, setup for packet reception, transmit on local navigation, and handling of incoming packets. ''; license = licenses.publicDomain;