From 89f7f6027781de3869b99a52be55790aa7283adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 7 Dec 2019 08:05:53 +0100 Subject: Add replication for redis --- pkgs/default.nix | 1 + pkgs/predixy/default.nix | 10 ++++++++++ pkgs/predixy/predixy.json | 15 +++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/predixy/default.nix create mode 100644 pkgs/predixy/predixy.json (limited to 'pkgs') 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 + } +} -- cgit v1.2.3