From 93a53dc19cf1761e3a9ee924cfe146a465a11735 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 11 Jul 2018 20:42:10 +0200 Subject: 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. --- gui/pkgs/modem-manager-gui.nix | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 gui/pkgs/modem-manager-gui.nix (limited to 'gui') 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; + }; +} -- cgit v1.2.3