{ stdenv, fetchgit, autoconf, automake, libtool, glib, gtk3, dbus, pkgconfig, file, intltool, connman }: stdenv.mkDerivation rec { name = "connmanui-${version}"; version = "e4a8ddcca0870eb2ece5a7e3ea0296de9c86e5b2"; src = fetchgit { url = "git://github.com/tbursztyka/connman-ui.git"; rev = version; sha256 = "0rml52v81s7hr0g6qbj5bamli08kn66hay84qicx8sy8679wg443"; }; buildInputs = [ autoconf automake libtool glib gtk3 dbus pkgconfig file intltool connman ]; preConfigure = '' set -e ./autogen.sh sed -i "s/\/usr\/bin\/file/file/g" ./configure ''; configureScript = "./configure"; meta = { description = "A full-featured GTK based trayicon UI for ConnMan"; homepage = "https://github.com/tbursztyka/connman-ui"; maintainers = [ stdenv.lib.maintainers.matejc ]; platforms = stdenv.lib.platforms.linux; license = stdenv.lib.licenses.gpl2; }; }