From: Ismaƫl Bouya Date: Sat, 7 Dec 2019 07:05:53 +0000 (+0100) Subject: Add replication for redis X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=89f7f6027781de3869b99a52be55790aa7283adb;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git Add replication for redis --- diff --git a/pkgs/default.nix b/pkgs/default.nix index 07b27001..82be20e5 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -22,6 +22,7 @@ rec { opendmarc = callPackage ../pkgs/opendmarc { libspf2 = callPackage ../pkgs/opendmarc/libspf2.nix {}; }; pg_activity = callPackage ../pkgs/pg_activity { inherit mylibs; }; pgloader = callPackage ../pkgs/pgloader {}; + predixy = callPackage ../pkgs/predixy { inherit mylibs; }; telegram-cli = callPackage ../pkgs/telegram-cli { inherit mylibs; }; telegram-history-dump = callPackage ../pkgs/telegram-history-dump { inherit mylibs; }; telegramircd = callPackage ../pkgs/telegramircd { inherit mylibs; telethon = callPackage ../pkgs/telethon_sync {}; }; diff --git a/pkgs/predixy/default.nix b/pkgs/predixy/default.nix new file mode 100644 index 00000000..7e7a9ba4 --- /dev/null +++ b/pkgs/predixy/default.nix @@ -0,0 +1,10 @@ +{ stdenv, mylibs }: +stdenv.mkDerivation (mylibs.fetchedGithub ./predixy.json // { + installPhase = '' + mkdir -p $out/bin + cp src/predixy $out/bin + mkdir -p $out/share + cp -r doc $out/share + cp -r conf $out/share/doc + ''; +}) diff --git a/pkgs/predixy/predixy.json b/pkgs/predixy/predixy.json new file mode 100644 index 00000000..9f9759c0 --- /dev/null +++ b/pkgs/predixy/predixy.json @@ -0,0 +1,15 @@ +{ + "tag": "dacf3fb-master", + "meta": { + "name": "predixy", + "url": "https://github.com/joyieldInc/predixy", + "branch": "master" + }, + "github": { + "owner": "joyieldInc", + "repo": "predixy", + "rev": "dacf3fb30c2602dc044040df04e194d44b49c1be", + "sha256": "0sbvy0jg551lwkfq8qh0a49cl9mhfnkhi3cnk25l8pz4jcdrr9k9", + "fetchSubmodules": true + } +}