2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, pkgconfig
|
|
|
|
, python3
|
2020-09-25 04:45:31 +00:00
|
|
|
, fetchFromGitLab
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, gdbm
|
|
|
|
, gtkspell3
|
|
|
|
, ofono
|
|
|
|
, itstool
|
2020-09-25 04:45:31 +00:00
|
|
|
, libayatana-appindicator-gtk3
|
2020-04-24 23:36:52 +00:00
|
|
|
, perlPackages
|
|
|
|
, glibcLocales
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "modem-manager-gui";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "0.0.20";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "salsa.debian.org";
|
|
|
|
owner = "debian";
|
|
|
|
repo = "modem-manager-gui";
|
|
|
|
rev = "upstream%2F${version}";
|
|
|
|
sha256 = "1pjx4rbsxa7gcs628yjkwb0zqrm5xq8pkmp0cfk4flfk1ryflmgr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
perlPackages.Po4a
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
gdbm
|
|
|
|
gtkspell3
|
|
|
|
ofono
|
2020-09-25 04:45:31 +00:00
|
|
|
libayatana-appindicator-gtk3
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = with maintainers; [ ahuzik galagora ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|