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