mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #25446 from romildo/new.connman-gtk
connman-gtk: init at 1.1.1
This commit is contained in:
commit
7c283b44c9
43
pkgs/tools/networking/connman-gtk/default.nix
Normal file
43
pkgs/tools/networking/connman-gtk/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, intltool, pkgconfig,
|
||||
gtk3, connman, openconnect, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "connman-gtk-${version}";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jgke";
|
||||
repo = "connman-gtk";
|
||||
rev = "v${version}";
|
||||
sha256 = "09k0hx5hxpbykvslv12l2fq9pxdwpd311mxj038hbqzjghcyidyr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
intltool
|
||||
pkgconfig
|
||||
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
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GTK GUI for Connman";
|
||||
homepage = https://github.com/jgke/connman-gtk;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}
|
@ -1261,6 +1261,8 @@ with pkgs;
|
||||
|
||||
connman = callPackage ../tools/networking/connman { };
|
||||
|
||||
connman-gtk = callPackage ../tools/networking/connman-gtk { };
|
||||
|
||||
connman-notify = callPackage ../tools/networking/connman-notify { };
|
||||
|
||||
connmanui = callPackage ../tools/networking/connmanui { };
|
||||
|
Loading…
Reference in New Issue
Block a user