2017-12-18 20:59:44 -08:00
|
|
|
{stdenv, fetchurl, which, autoreconfHook, pkgconfig, vala, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:
|
2014-02-04 11:02:46 -08:00
|
|
|
|
2017-12-18 20:59:44 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2018-04-08 00:11:01 -07:00
|
|
|
version = "6.1.7";
|
|
|
|
seafileVersion = "6.1.7";
|
2014-02-04 11:02:46 -08:00
|
|
|
name = "ccnet-${version}";
|
|
|
|
|
2017-12-18 20:59:44 -08:00
|
|
|
src = fetchurl {
|
2016-04-22 17:52:42 -07:00
|
|
|
url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz";
|
2018-04-08 00:11:01 -07:00
|
|
|
sha256 = "1kkzdxa9r7sw1niwniznfkvilgvb7q039wq07cfk73qs3231bj7r";
|
2014-02-04 11:02:46 -08:00
|
|
|
};
|
|
|
|
|
2017-12-18 20:59:44 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig which autoreconfHook vala python ];
|
2014-02-04 11:02:46 -08:00
|
|
|
propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
|
|
|
|
|
2017-12-18 20:59:44 -08:00
|
|
|
configureFlags = [ "--enable-server" ];
|
2014-02-04 11:02:46 -08:00
|
|
|
|
2017-12-18 20:59:44 -08:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-11 05:20:43 -08:00
|
|
|
homepage = https://github.com/haiwen/ccnet;
|
|
|
|
description = "A framework for writing networked applications in C";
|
2017-12-18 20:59:44 -08:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2018-03-10 15:46:41 -08:00
|
|
|
maintainers = [ ];
|
2014-02-04 11:02:46 -08:00
|
|
|
};
|
|
|
|
}
|