3
0
Fork 0
forked from mirrors/nixpkgs

connman-ncurses: init at 2015-07-21 (#25448)

This commit is contained in:
José Romildo Malaquias 2018-02-17 06:38:37 -02:00 committed by Joachim F
parent 071988a6b3
commit 87f6e05dd4
2 changed files with 34 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -1573,6 +1573,8 @@ with pkgs;
connman-gtk = callPackage ../tools/networking/connman-gtk { }; connman-gtk = callPackage ../tools/networking/connman-gtk { };
connman-ncurses = callPackage ../tools/networking/connman-ncurses { };
connman-notify = callPackage ../tools/networking/connman-notify { }; connman-notify = callPackage ../tools/networking/connman-notify { };
connmanui = callPackage ../tools/networking/connmanui { }; connmanui = callPackage ../tools/networking/connmanui { };