diff options
-rw-r--r-- | pkgs/default.nix | 1 | ||||
-rw-r--r-- | pkgs/predixy/default.nix | 10 | ||||
-rw-r--r-- | pkgs/predixy/predixy.json | 15 |
3 files changed, 26 insertions, 0 deletions
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 { | |||
22 | opendmarc = callPackage ../pkgs/opendmarc { libspf2 = callPackage ../pkgs/opendmarc/libspf2.nix {}; }; | 22 | opendmarc = callPackage ../pkgs/opendmarc { libspf2 = callPackage ../pkgs/opendmarc/libspf2.nix {}; }; |
23 | pg_activity = callPackage ../pkgs/pg_activity { inherit mylibs; }; | 23 | pg_activity = callPackage ../pkgs/pg_activity { inherit mylibs; }; |
24 | pgloader = callPackage ../pkgs/pgloader {}; | 24 | pgloader = callPackage ../pkgs/pgloader {}; |
25 | predixy = callPackage ../pkgs/predixy { inherit mylibs; }; | ||
25 | telegram-cli = callPackage ../pkgs/telegram-cli { inherit mylibs; }; | 26 | telegram-cli = callPackage ../pkgs/telegram-cli { inherit mylibs; }; |
26 | telegram-history-dump = callPackage ../pkgs/telegram-history-dump { inherit mylibs; }; | 27 | telegram-history-dump = callPackage ../pkgs/telegram-history-dump { inherit mylibs; }; |
27 | telegramircd = callPackage ../pkgs/telegramircd { inherit mylibs; telethon = callPackage ../pkgs/telethon_sync {}; }; | 28 | 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 @@ | |||
1 | { stdenv, mylibs }: | ||
2 | stdenv.mkDerivation (mylibs.fetchedGithub ./predixy.json // { | ||
3 | installPhase = '' | ||
4 | mkdir -p $out/bin | ||
5 | cp src/predixy $out/bin | ||
6 | mkdir -p $out/share | ||
7 | cp -r doc $out/share | ||
8 | cp -r conf $out/share/doc | ||
9 | ''; | ||
10 | }) | ||
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 @@ | |||
1 | { | ||
2 | "tag": "dacf3fb-master", | ||
3 | "meta": { | ||
4 | "name": "predixy", | ||
5 | "url": "https://github.com/joyieldInc/predixy", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "joyieldInc", | ||
10 | "repo": "predixy", | ||
11 | "rev": "dacf3fb30c2602dc044040df04e194d44b49c1be", | ||
12 | "sha256": "0sbvy0jg551lwkfq8qh0a49cl9mhfnkhi3cnk25l8pz4jcdrr9k9", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||