summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2018-02-17 06:38:37 -0200
committerJoachim F <joachifm@users.noreply.github.com>2018-02-17 08:38:37 +0000
commit87f6e05dd458bb1376f0ddfd33ac2393e11b0a29 (patch)
tree5b6ba4fe48f8b13ab1203c5da9c6dae6b236a570 /pkgs/tools/networking
parent071988a6b36f1397c65e4d2340c96320f666f017 (diff)
downloadnixlib-87f6e05dd458bb1376f0ddfd33ac2393e11b0a29.tar
nixlib-87f6e05dd458bb1376f0ddfd33ac2393e11b0a29.tar.gz
nixlib-87f6e05dd458bb1376f0ddfd33ac2393e11b0a29.tar.bz2
nixlib-87f6e05dd458bb1376f0ddfd33ac2393e11b0a29.tar.lz
nixlib-87f6e05dd458bb1376f0ddfd33ac2393e11b0a29.tar.xz
nixlib-87f6e05dd458bb1376f0ddfd33ac2393e11b0a29.tar.zst
nixlib-87f6e05dd458bb1376f0ddfd33ac2393e11b0a29.zip
connman-ncurses: init at 2015-07-21 (#25448)
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/connman-ncurses/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/networking/connman-ncurses/default.nix b/pkgs/tools/networking/connman-ncurses/default.nix
new file mode 100644
index 000000000000..8c4d4fa84865
--- /dev/null
+++ b/pkgs/tools/networking/connman-ncurses/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, dbus, json_c, ncurses, connman }:
+
+stdenv.mkDerivation rec {
+  name = "connman-ncurses-${version}";
+  version = "2015-07-21";
+
+  src = fetchFromGitHub {
+    owner = "eurogiciel-oss";
+    repo = "connman-json-client";
+    rev = "3c34b2ee62d2e188090d20e7ed2fd94bab9c47f2";
+    sha256 = "1831r0776fv481g8kgy1dkl750pzv47835dw11sslq2k6mm6i9p1";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkgconfig ];
+
+  buildInputs = [ dbus ncurses json_c connman ];
+
+  NIX_CFLAGS_COMPILE = "-Wno-error";
+  
+  installPhase = ''
+    mkdir -p "$out/bin"
+    cp -va connman_ncurses "$out/bin/"
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Simple ncurses UI for connman";
+    homepage = https://github.com/eurogiciel-oss/connman-json-client;
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.romildo ];
+  };
+}