nixpkgs/pkgs/tools/networking/ccnet/default.nix

26 lines
854 B
Nix
Raw Normal View History

2017-12-19 04:59:44 +00:00
{stdenv, fetchurl, which, autoreconfHook, pkgconfig, vala, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:
2017-12-19 04:59:44 +00:00
stdenv.mkDerivation rec {
version = "6.1.0";
seafileVersion = "6.1.0";
name = "ccnet-${version}";
2017-12-19 04:59:44 +00:00
src = fetchurl {
url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz";
sha256 = "0q4a102xlcsxlr53h4jr4w8qzkbzvm2f3nk9fsha48h6l2hw34bb";
};
2017-12-19 04:59:44 +00:00
nativeBuildInputs = [ pkgconfig which autoreconfHook vala python ];
propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
2017-12-19 04:59:44 +00:00
configureFlags = [ "--enable-server" ];
2017-12-19 04:59:44 +00:00
meta = with stdenv.lib; {
2014-11-11 13:20:43 +00:00
homepage = https://github.com/haiwen/ccnet;
description = "A framework for writing networked applications in C";
2017-12-19 04:59:44 +00:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.calrama ];
};
}