diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-21 22:13:23 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-21 22:13:46 +0100 |
commit | 86f4a6445abacf741fb40bbd0f4c23627a3febe6 (patch) | |
tree | 18386f4b9674778f3bdc338af657df7b2775413d | |
parent | 9106eaf4633b3500cac2d83df47363e3e894b404 (diff) | |
download | Nix-86f4a6445abacf741fb40bbd0f4c23627a3febe6.tar.gz Nix-86f4a6445abacf741fb40bbd0f4c23627a3febe6.tar.zst Nix-86f4a6445abacf741fb40bbd0f4c23627a3febe6.zip |
Add pg_activity
-rw-r--r-- | default.nix | 4 | ||||
-rw-r--r-- | fetched/pg_activity.json | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 9dd553c..4c9a35d 100644 --- a/default.nix +++ b/default.nix | |||
@@ -202,6 +202,9 @@ let | |||
202 | 202 | ||
203 | nagios-cli = python2Packages.buildPythonApplication (fetchedGithub ./fetched/nagios-cli.json); | 203 | nagios-cli = python2Packages.buildPythonApplication (fetchedGithub ./fetched/nagios-cli.json); |
204 | 204 | ||
205 | pg_activity = with python2Packages; buildPythonApplication (fetchedGithub ./fetched/pg_activity.json // rec { | ||
206 | propagatedBuildInputs = [ psycopg2 psutil ]; | ||
207 | }); | ||
205 | # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh | 208 | # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh |
206 | # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks | 209 | # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks |
207 | in | 210 | in |
@@ -235,5 +238,6 @@ in | |||
235 | inherit abook khard khal; | 238 | inherit abook khard khal; |
236 | inherit graphicsmagick; | 239 | inherit graphicsmagick; |
237 | inherit youtube-dl; | 240 | inherit youtube-dl; |
241 | inherit pg_activity; | ||
238 | #inherit nixos; | 242 | #inherit nixos; |
239 | } | 243 | } |
diff --git a/fetched/pg_activity.json b/fetched/pg_activity.json new file mode 100644 index 0000000..4485d9a --- /dev/null +++ b/fetched/pg_activity.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "v1.4.0", | ||
3 | "meta": { | ||
4 | "name": "pg_activity", | ||
5 | "url": "https://github.com/julmon/pg_activity/", | ||
6 | "branch": "refs/tags/v1.4.0" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "julmon", | ||
10 | "repo": "pg_activity", | ||
11 | "rev": "f26ae614c204254a805309026eebd5e9230b0214", | ||
12 | "sha256": "1bmvgrmna7vz2a6vknxm0k19vl9x7l6hn6vpfd7jgd53rz7c9w5p", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||