From 6d34e36ed7a95cce877bd9ee51e6119bf098a413 Mon Sep 17 00:00:00 2001 From: Ales Huzik Date: Wed, 24 Oct 2018 16:54:18 +1100 Subject: [PATCH] modem-manager-gui: init at 0.0.19.1 --- maintainers/maintainer-list.nix | 5 ++ .../networking/modem-manager-gui/default.nix | 50 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 57 insertions(+) create mode 100644 pkgs/applications/networking/modem-manager-gui/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a9116f411767..62c62ac51234 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -143,6 +143,11 @@ github = "ahmedtd"; name = "Taahir Ahmed"; }; + ahuzik = { + email = "ales.guzik@gmail.com"; + github = "alesguzik"; + name = "Ales Huzik"; + }; aij = { email = "aij+git@mrph.org"; github = "aij"; diff --git a/pkgs/applications/networking/modem-manager-gui/default.nix b/pkgs/applications/networking/modem-manager-gui/default.nix new file mode 100644 index 000000000000..ca8a4d0fb0cb --- /dev/null +++ b/pkgs/applications/networking/modem-manager-gui/default.nix @@ -0,0 +1,50 @@ +{ stdenv, buildEnv, pkgconfig, python3, fetchhg, gtk3, glib, gdbm, gtkspell3, itstool, libappindicator-gtk3, perlPackages, glibcLocales, meson, ninja }: + +stdenv.mkDerivation rec { + name = "modem-manager-gui-${version}"; + version = "0.0.19.1"; + + src = fetchhg { + url = https://linuxonly@bitbucket.org/linuxonly/modem-manager-gui; + rev = "version ${version}"; + sha256 = "11iibh36567814h2bz41sa1072b86p1l13xyj670pwkh9k8kw8fd"; + }; + + LC_ALL = "en_US.utf-8"; + + nativeBuildInputs = [ + pkgconfig + python3 + perlPackages.Po4a + itstool + glibcLocales + meson + ninja + ]; + + buildInputs = [ + gtk3 + glib + gdbm + gtkspell3 + libappindicator-gtk3 + ]; + + postPatch = '' + patchShebangs man/manhelper.py + ''; + + meta = with stdenv.lib; { + description = "An app to send/receive SMS, make USSD requests, control mobile data usage and more"; + longDescription = '' + A simple GTK+ based GUI compatible with Modem manager, Wader and oFono + system services able to control EDGE/3G/4G broadband modem specific + functions. You can check balance of your SIM card, send or receive SMS + messages, control mobile traffic consumption and more. + ''; + homepage = https://linuxonly.ru/page/modem-manager-gui; + license = licenses.gpl3; + maintainers = with maintainers; [ ahuzik ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2a32f95b1a16..68ce50825210 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4154,6 +4154,8 @@ with pkgs; modemmanager = callPackage ../tools/networking/modem-manager {}; + modem-manager-gui = callPackage ../applications/networking/modem-manager-gui {}; + modsecurity_standalone = callPackage ../tools/security/modsecurity { }; molly-guard = callPackage ../os-specific/linux/molly-guard { };