2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, which, autoreconfHook, pkg-config, vala, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "6.1.8";
|
|
|
|
seafileVersion = "6.1.8";
|
|
|
|
pname = "ccnet";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "0qlpnrz30ldrqnvbj59d54qdghxpxc5lsq6kf3dw2b93jnzkcmmm";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config which autoreconfHook vala python ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-server" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/haiwen/ccnet";
|
|
|
|
description = "A framework for writing networked applications in C";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|