1ffc76754d
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
28 lines
719 B
Nix
28 lines
719 B
Nix
{ stdenv, fetchFromGitHub, hiredis, http-parser, jansson, libevent, fetchpatch }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "webdis";
|
|
version = "0.1.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nicolasff";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "162xbx4dhfx4a6sksm7x60gr7ylyila4vidmdf0bn7xlvglggazf";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|