Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
787 B
Nix
43 lines
787 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
hiredis,
|
|
http-parser,
|
|
jansson,
|
|
libevent,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "webdis";
|
|
version = "0.1.23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nicolasff";
|
|
repo = "webdis";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-eFUI3RDDrEI1bV+SfTVsIO6yjswK7tzgNsNepoo7DQ4=";
|
|
};
|
|
|
|
buildInputs = [
|
|
hiredis
|
|
http-parser
|
|
jansson
|
|
libevent
|
|
];
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
"CONFDIR=${placeholder "out"}/share/webdis"
|
|
];
|
|
|
|
meta = {
|
|
description = "Redis HTTP interface with JSON output";
|
|
mainProgram = "webdis";
|
|
homepage = "https://webd.is/";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ wucke13 ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|