]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add nagios-cli program
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 21 Dec 2018 00:34:27 +0000 (01:34 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 21 Dec 2018 00:34:27 +0000 (01:34 +0100)
default.nix
fetched/nagios-cli.json [new file with mode: 0644]

index 92dea9cdb5c19a22730b134f66c87a1060343f09..a914f744df03d03f10c0e3b41ac59386633e0cce 100644 (file)
@@ -200,6 +200,8 @@ let
     propagatedBuildInputs = [ perl ncurses ];
   });
 
+  nagios-cli = python2Packages.buildPythonApplication (fetchedGithub ./fetched/nagios-cli.json);
+
 # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh
 # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks
 in
@@ -229,6 +231,6 @@ in
     inherit note terminal_velocity;
     inherit mtop;
     inherit tiv;
-    inherit cnagios;
+    inherit cnagios nagios-cli;
     #inherit nixos;
   }
diff --git a/fetched/nagios-cli.json b/fetched/nagios-cli.json
new file mode 100644 (file)
index 0000000..fc91227
--- /dev/null
@@ -0,0 +1,15 @@
+{
+  "tag": "edc51ea-master",
+  "meta": {
+    "name": "nagios-cli",
+    "url": "https://github.com/tehmaze/nagios-cli",
+    "branch": "master"
+  },
+  "github": {
+    "owner": "tehmaze",
+    "repo": "nagios-cli",
+    "rev": "edc51eaccf1086bb4469ce45c5e5155f2d71a2f9",
+    "sha256": "1qw5fv4niz079zqwmfr3kzjv8cc31rbhi9whdbv9c32qdi3h7vsp",
+    "fetchSubmodules": true
+  }
+}