2014-02-04 23:02:46 +04:00
|
|
|
{stdenv, fetchurl, which, automake, autoconf, pkgconfig, libtool, vala, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec
|
|
|
|
{
|
2016-04-23 03:52:42 +03:00
|
|
|
version = "5.0.7";
|
|
|
|
seafileVersion = "5.0.7";
|
2014-02-04 23:02:46 +04:00
|
|
|
name = "ccnet-${version}";
|
|
|
|
|
|
|
|
src = fetchurl
|
|
|
|
{
|
2016-04-23 03:52:42 +03:00
|
|
|
url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1e1c670a85619b174328a15925a050c7a8b323fecd13434992332f5c15e05de1";
|
2014-02-04 23:02:46 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ which automake autoconf pkgconfig libtool vala python ];
|
|
|
|
propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -ie 's|/bin/bash|/bin/sh|g' ./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = "--enable-server";
|
|
|
|
|
|
|
|
buildPhase = "make -j1";
|
|
|
|
|
|
|
|
meta =
|
|
|
|
{
|
2014-11-11 16:20:43 +03:00
|
|
|
homepage = https://github.com/haiwen/ccnet;
|
|
|
|
description = "A framework for writing networked applications in C";
|
2014-02-04 23:02:46 +04:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2014-02-28 20:10:43 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-02-04 23:02:46 +04:00
|
|
|
maintainers = [ stdenv.lib.maintainers.calrama ];
|
|
|
|
};
|
|
|
|
}
|