at 22.05-pre 716 B view raw
1{ lib, stdenv, fetchFromGitHub, hiredis, http-parser, jansson, libevent, fetchpatch }: 2 3stdenv.mkDerivation rec { 4 pname = "webdis"; 5 version = "0.1.16"; 6 7 src = fetchFromGitHub { 8 owner = "nicolasff"; 9 repo = pname; 10 rev = version; 11 sha256 = "sha256-I+Nq3kjXoQlwfj8r7oNu6KFE6hnB076M9aJMdwCas3k="; 12 }; 13 14 buildInputs = [ hiredis http-parser jansson libevent ]; 15 16 makeFlags = [ 17 "PREFIX=${placeholder "out"}" 18 "CONFDIR=${placeholder "out"}/share/webdis" 19 ]; 20 21 meta = with lib; { 22 description = "A Redis HTTP interface with JSON output"; 23 homepage = "https://webd.is/"; 24 license = licenses.bsd2; 25 platforms = platforms.unix; 26 maintainers = with maintainers; [ wucke13 ]; 27 }; 28}