aboutsummaryrefslogblamecommitdiff
path: root/pkgs/gearmand/default.nix
blob: bb3be89db7444e5fdd6f3a9b1f9d2782aad875dd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                                                     
{ stdenv, fetchurl, boost, gperf, libevent, libmysqlclient, libuuid, python3, sqlite, hiredis, postgresql, openssl }:
stdenv.mkDerivation rec {
  pname = "gearmand";
  version = "1.1.19.1";
  src = fetchurl {
    url = "https://github.com/gearman/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
    sha256 = "1yvb2r3n89p43nchsi3d4nwl0f4xsiy8msnacmm4x4hcdb8y19lf";
  };
  buildInputs = [ boost gperf libevent openssl libmysqlclient libuuid sqlite hiredis postgresql ];
  configureFlags = [
    "--with-boost=${boost.dev}"
    "--with-boost-libdir=${boost}/lib"
    "--with-openssl=${openssl.dev}"
    "--enable-ssl"
  ];
}