diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-16 15:23:20 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-16 16:16:00 +0200 |
commit | a97118c489a59d723538292214efaa10dfcb96df (patch) | |
tree | 853ec20d2af94dc8d3325fa3b781dd535cd72c86 /pkgs/gearmand | |
parent | b1b8a5623d22a7ee4301afe4e7b9d368ef7ded8f (diff) | |
download | Nix-a97118c489a59d723538292214efaa10dfcb96df.tar.gz Nix-a97118c489a59d723538292214efaa10dfcb96df.tar.zst Nix-a97118c489a59d723538292214efaa10dfcb96df.zip |
Add status engine website
Diffstat (limited to 'pkgs/gearmand')
-rw-r--r-- | pkgs/gearmand/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/gearmand/default.nix b/pkgs/gearmand/default.nix new file mode 100644 index 0000000..bb3be89 --- /dev/null +++ b/pkgs/gearmand/default.nix | |||
@@ -0,0 +1,16 @@ | |||
1 | { stdenv, fetchurl, boost, gperf, libevent, libmysqlclient, libuuid, python3, sqlite, hiredis, postgresql, openssl }: | ||
2 | stdenv.mkDerivation rec { | ||
3 | pname = "gearmand"; | ||
4 | version = "1.1.19.1"; | ||
5 | src = fetchurl { | ||
6 | url = "https://github.com/gearman/${pname}/releases/download/${version}/${pname}-${version}.tar.gz"; | ||
7 | sha256 = "1yvb2r3n89p43nchsi3d4nwl0f4xsiy8msnacmm4x4hcdb8y19lf"; | ||
8 | }; | ||
9 | buildInputs = [ boost gperf libevent openssl libmysqlclient libuuid sqlite hiredis postgresql ]; | ||
10 | configureFlags = [ | ||
11 | "--with-boost=${boost.dev}" | ||
12 | "--with-boost-libdir=${boost}/lib" | ||
13 | "--with-openssl=${openssl.dev}" | ||
14 | "--enable-ssl" | ||
15 | ]; | ||
16 | } | ||