2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, intltool, pkg-config,
|
2017-05-02 17:13:31 +00:00
|
|
|
gtk3, connman, openconnect, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "connman-gtk";
|
2017-05-02 17:13:31 +00:00
|
|
|
version = "1.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jgke";
|
|
|
|
repo = "connman-gtk";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "09k0hx5hxpbykvslv12l2fq9pxdwpd311mxj038hbqzjghcyidyr";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
intltool
|
2021-01-17 03:51:22 +00:00
|
|
|
pkg-config
|
2017-05-02 17:13:31 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
openconnect
|
|
|
|
connman
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
# m4/intltool.m4 is an invalid symbolic link
|
|
|
|
rm m4/intltool.m4
|
|
|
|
ln -s ${intltool}/share/aclocal/intltool.m4 m4/
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-05-02 17:13:31 +00:00
|
|
|
description = "GTK GUI for Connman";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jgke/connman-gtk";
|
2017-05-02 17:13:31 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|