]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
Add replication for redis
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 7 Dec 2019 07:05:53 +0000 (08:05 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:04:34 +0000 (00:04 +0200)
pkgs/default.nix
pkgs/predixy/default.nix [new file with mode: 0644]
pkgs/predixy/predixy.json [new file with mode: 0644]

index 07b27001e79cb27852730988e39f0143dc5fe56b..82be20e55e54a610af00542dc3b674aeafae11e9 100644 (file)
@@ -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 (file)
index 0000000..7e7a9ba
--- /dev/null
@@ -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 (file)
index 0000000..9f9759c
--- /dev/null
@@ -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
+  }
+}