2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, hiredis, http-parser, jansson, libevent, fetchpatch }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "webdis";
|
2020-06-18 07:06:33 +00:00
|
|
|
version = "0.1.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicolasff";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-06-18 07:06:33 +00:00
|
|
|
sha256 = "1hn4fq0asivfs56rw9ck1vc3g6h6fnwywh8v4zs2bkyn62fg9mcw";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ hiredis http-parser jansson libevent ];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=${placeholder "out"}"
|
|
|
|
"CONFDIR=${placeholder "out"}/share/webdis"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Redis HTTP interface with JSON output";
|
|
|
|
homepage = "https://webd.is/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wucke13 ];
|
|
|
|
};
|
|
|
|
}
|