2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2021-01-17 03:09:27 +01:00
|
|
|
, pkg-config
|
2019-08-23 18:44:19 +02:00
|
|
|
, python3
|
2020-08-27 01:22:39 +02:00
|
|
|
, fetchFromGitLab
|
2019-08-23 18:44:19 +02:00
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, gdbm
|
|
|
|
, gtkspell3
|
|
|
|
, ofono
|
|
|
|
, itstool
|
2020-08-27 03:13:58 +02:00
|
|
|
, libayatana-appindicator-gtk3
|
2019-08-23 18:44:19 +02:00
|
|
|
, perlPackages
|
|
|
|
, glibcLocales
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
}:
|
2018-10-24 07:54:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-23 18:44:19 +02:00
|
|
|
pname = "modem-manager-gui";
|
2020-08-27 01:22:39 +02:00
|
|
|
version = "0.0.20";
|
2018-10-24 07:54:18 +02:00
|
|
|
|
2020-08-27 01:22:39 +02:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "salsa.debian.org";
|
|
|
|
owner = "debian";
|
|
|
|
repo = "modem-manager-gui";
|
|
|
|
rev = "upstream%2F${version}";
|
|
|
|
sha256 = "1pjx4rbsxa7gcs628yjkwb0zqrm5xq8pkmp0cfk4flfk1ryflmgr";
|
2018-10-24 07:54:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 03:09:27 +01:00
|
|
|
pkg-config
|
2018-10-24 07:54:18 +02:00
|
|
|
python3
|
|
|
|
perlPackages.Po4a
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
gdbm
|
|
|
|
gtkspell3
|
2019-08-23 18:01:09 +02:00
|
|
|
ofono
|
2020-08-27 03:13:58 +02:00
|
|
|
libayatana-appindicator-gtk3
|
2018-10-24 07:54:18 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs man/manhelper.py
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-24 07:54:18 +02:00
|
|
|
description = "An app to send/receive SMS, make USSD requests, control mobile data usage and more";
|
|
|
|
longDescription = ''
|
2019-09-04 00:49:40 +02:00
|
|
|
A simple GTK based GUI compatible with Modem manager, Wader and oFono
|
2018-10-24 07:54:18 +02:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://linuxonly.ru/page/modem-manager-gui";
|
2018-10-24 07:54:18 +02:00
|
|
|
license = licenses.gpl3;
|
2020-08-27 03:13:58 +02:00
|
|
|
maintainers = with maintainers; [ ahuzik galagora ];
|
2018-10-24 07:54:18 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|