Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
50 changes: 50 additions & 0 deletions pkgs/applications/networking/modem-manager-gui/default.nix
Original file line number Diff line number Diff line change
@@ -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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Programs executed during build should go to nativeBuildInputs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down
3 changes: 2 additions & 1 deletion pkgs/top-level/perl-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12482,7 +12482,8 @@ let
export PERL_MB_OPT="--install_base=$out --prefix=$out"
substituteInPlace Po4aBuilder.pm --replace "\$self->install_sets(\$self->installdirs)->{'bindoc'}" "'$out/share/man/man1'"
'';
buildPhase = "perl Build.PL --install_base=$out; ./Build build";

buildPhase = "perl Build.PL --install_base=$out --install_path=\"lib=$out/${perl.libPrefix}\"; ./Build build";
installPhase = "./Build install";
checkPhase = ''
export SGML_CATALOG_FILES=${pkgs.docbook_sgml_dtd_41}/sgml/dtd/docbook-4.1/docbook.cat
Expand Down