673ac0291b
GitOrigin-RevId: 1f77a4c8c74bbe896053994836790aa9bf6dc5ba
28 lines
716 B
Nix
28 lines
716 B
Nix
{ lib, stdenv, fetchFromGitHub, hiredis, http-parser, jansson, libevent, fetchpatch }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "webdis";
|
|
version = "0.1.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nicolasff";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-pppA/Uyz1ge7UOG1PrqpTQC5sSGMWPw0J+CtaoZpOCM=";
|
|
};
|
|
|
|
buildInputs = [ hiredis http-parser jansson libevent ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
"CONFDIR=${placeholder "out"}/share/webdis"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A Redis HTTP interface with JSON output";
|
|
homepage = "https://webd.is/";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ wucke13 ];
|
|
};
|
|
}
|