blob: 8c4d4fa848655c4f9db57d69837ffdca26fffa90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 ];
};
}
|