summary refs log tree commit diff
path: root/pkgs/tools/networking/ccnet/default.nix
blob: 3293ebe25c83d02053424e06889769e52510db96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{lib, stdenv, fetchurl, which, autoreconfHook, pkg-config, vala, python3, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:

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";
  };

  nativeBuildInputs = [ pkg-config which autoreconfHook vala python3 libsearpc ];
  propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];

  configureFlags = [ "--enable-server" ];

  strictDeps = true;

  meta = with lib; {
    homepage = "https://github.com/haiwen/ccnet";
    description = "A framework for writing networked applications in C";
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = [ ];
  };
}