forked from mirrors/nixpkgs
connman-ncurses: init at 2015-07-21 (#25448)
This commit is contained in:
parent
071988a6b3
commit
87f6e05dd4
32
pkgs/tools/networking/connman-ncurses/default.nix
Normal file
32
pkgs/tools/networking/connman-ncurses/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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 { };
|
||||||
|
|
Loading…
Reference in a new issue