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