diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /pkgs/cnagios | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'pkgs/cnagios')
-rw-r--r-- | pkgs/cnagios/cnagios.json | 15 | ||||
-rw-r--r-- | pkgs/cnagios/default.nix | 22 |
2 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/cnagios/cnagios.json b/pkgs/cnagios/cnagios.json deleted file mode 100644 index 4c1c385..0000000 --- a/pkgs/cnagios/cnagios.json +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | { | ||
2 | "tag": "3bd27fb-master", | ||
3 | "meta": { | ||
4 | "name": "cnagios", | ||
5 | "url": "https://github.com/dannywarren/cnagios", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "dannywarren", | ||
10 | "repo": "cnagios", | ||
11 | "rev": "3bd27fb40e68f61ffd01bea6234b919a667b6fe4", | ||
12 | "sha256": "0iy5pmlcz6y3if72nav22xqxniiv1v8ywi0927m6s459hkw5n2rb", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||
diff --git a/pkgs/cnagios/default.nix b/pkgs/cnagios/default.nix deleted file mode 100644 index d5b52f3..0000000 --- a/pkgs/cnagios/default.nix +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | { stdenv, mylibs, perl, ncurses }: | ||
2 | stdenv.mkDerivation (mylibs.fetchedGithub ./cnagios.json // { | ||
3 | configureFlags = [ | ||
4 | "--with-etc-dir=/etc/cnagios" | ||
5 | "--with-var-dir=/var/lib/naemon" | ||
6 | "--with-status-file=/var/lib/naemon/status.dat" | ||
7 | "--with-nagios-data=4" | ||
8 | ]; | ||
9 | |||
10 | prePatch = '' | ||
11 | sed -i -e "s/-lcurses/-lncurses/" Makefile.in | ||
12 | ''; | ||
13 | installPhase = '' | ||
14 | install -dm755 $out/share/doc/cnagios | ||
15 | install -Dm644 cnagiosrc $out/share/doc/cnagios/ | ||
16 | install -Dm644 cnagios.help $out/share/doc/cnagios/ | ||
17 | install -Dm644 cnagios.pl $out/share/doc/cnagios/ | ||
18 | install -dm755 $out/bin | ||
19 | install -Dm755 cnagios $out/bin/ | ||
20 | ''; | ||
21 | buildInputs = [ perl ncurses ]; | ||
22 | }) | ||