ccnet: use recent vala + clean-up
This commit is contained in:
parent
c747ea1b34
commit
8a1475a35a
@ -1,36 +1,25 @@
|
|||||||
{stdenv, fetchurl, which, automake, autoconf, pkgconfig, libtool, vala_0_23, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:
|
{stdenv, fetchurl, which, autoreconfHook, pkgconfig, vala, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec
|
stdenv.mkDerivation rec {
|
||||||
{
|
|
||||||
version = "6.1.0";
|
version = "6.1.0";
|
||||||
seafileVersion = "6.1.0";
|
seafileVersion = "6.1.0";
|
||||||
name = "ccnet-${version}";
|
name = "ccnet-${version}";
|
||||||
|
|
||||||
src = fetchurl
|
src = fetchurl {
|
||||||
{
|
|
||||||
url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz";
|
url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz";
|
||||||
sha256 = "0q4a102xlcsxlr53h4jr4w8qzkbzvm2f3nk9fsha48h6l2hw34bb";
|
sha256 = "0q4a102xlcsxlr53h4jr4w8qzkbzvm2f3nk9fsha48h6l2hw34bb";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig which autoreconfHook vala python ];
|
||||||
buildInputs = [ which automake autoconf libtool vala_0_23 python ];
|
|
||||||
propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
|
propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
|
||||||
|
|
||||||
preConfigure = ''
|
configureFlags = [ "--enable-server" ];
|
||||||
sed -ie 's|/bin/bash|${stdenv.shell}|g' ./autogen.sh
|
|
||||||
./autogen.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = "--enable-server";
|
meta = with stdenv.lib; {
|
||||||
|
|
||||||
buildPhase = "make -j1";
|
|
||||||
|
|
||||||
meta =
|
|
||||||
{
|
|
||||||
homepage = https://github.com/haiwen/ccnet;
|
homepage = https://github.com/haiwen/ccnet;
|
||||||
description = "A framework for writing networked applications in C";
|
description = "A framework for writing networked applications in C";
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.calrama ];
|
maintainers = [ maintainers.calrama ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user