diff options
author | Adrian Kummerlaender | 2018-07-11 20:42:10 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-07-11 20:42:10 +0200 |
commit | 93a53dc19cf1761e3a9ee924cfe146a465a11735 (patch) | |
tree | 3217feac19de3dd562fd3992d853e1cbd6ffe5b5 /gui/pkgs | |
parent | 5c8176f99c91e31f44848946e12813e2b99be3e9 (diff) | |
download | nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.gz nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.bz2 nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.lz nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.xz nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.tar.zst nixos_home-93a53dc19cf1761e3a9ee924cfe146a465a11735.zip |
Add host-specific config analogously to nixos_system
Enables installation of modem-manager-gui derivation to be restricted to asterix.
XMonad config will also get host-specific sections in the future.
Diffstat (limited to 'gui/pkgs')
-rw-r--r-- | gui/pkgs/modem-manager-gui.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gui/pkgs/modem-manager-gui.nix b/gui/pkgs/modem-manager-gui.nix new file mode 100644 index 0000000..50d64a8 --- /dev/null +++ b/gui/pkgs/modem-manager-gui.nix @@ -0,0 +1,35 @@ +{ stdenv, pkgs, ... }: + +stdenv.mkDerivation rec { + name = "modem-manager-gui"; + + src = pkgs.fetchhg { + url = "https://linuxonly@bitbucket.org/linuxonly/modem-manager-gui"; + rev = "5c6456f"; + }; + + # required for locale generation + LANG = "en_US.UTF-8"; + LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive"; + # required to get Po4a to work + PERL5LIB="${pkgs.perlPackages.Po4a}/lib/perl5"; + + buildInputs = with pkgs; [ + pkgconfig + gtk3 + glib + gdbm + perlPackages.Po4a + itstool + libappindicator-gtk3 + meson + gettext + ninja + ]; + + meta = { + description = "modem-manager-gui"; + homepage = https://linuxonly.ru/page/modem-manager-gui; + license = stdenv.lib.licenses.gpl3; + }; +} |