Merge pull request #165780 from OPNA2608/init/haguichi
haguichi: init at 1.4.5
This commit is contained in:
commit
d06755d422
|
@ -169,6 +169,7 @@
|
||||||
./programs/gpaste.nix
|
./programs/gpaste.nix
|
||||||
./programs/gnupg.nix
|
./programs/gnupg.nix
|
||||||
./programs/gphoto2.nix
|
./programs/gphoto2.nix
|
||||||
|
./programs/haguichi.nix
|
||||||
./programs/hamster.nix
|
./programs/hamster.nix
|
||||||
./programs/htop.nix
|
./programs/htop.nix
|
||||||
./programs/iftop.nix
|
./programs/iftop.nix
|
||||||
|
|
15
nixos/modules/programs/haguichi.nix
Normal file
15
nixos/modules/programs/haguichi.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ lib, pkgs, config, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
options.programs.haguichi = {
|
||||||
|
enable = mkEnableOption "Haguichi, a Linux GUI frontend to the proprietary LogMeIn Hamachi";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf config.programs.haguichi.enable {
|
||||||
|
environment.systemPackages = with pkgs; [ haguichi ];
|
||||||
|
|
||||||
|
services.logmein-hamachi.enable = true;
|
||||||
|
};
|
||||||
|
}
|
54
pkgs/tools/networking/haguichi/default.nix
Normal file
54
pkgs/tools/networking/haguichi/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
, vala
|
||||||
|
, wrapGAppsHook
|
||||||
|
, desktop-file-utils
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "haguichi";
|
||||||
|
version = "1.4.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ztefn";
|
||||||
|
repo = "haguichi";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1kgjl9g9lyg00cfx4x28s4xyqsqk5057xv6k2cj6ckg9lkxaixvc";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
python3
|
||||||
|
vala
|
||||||
|
wrapGAppsHook
|
||||||
|
desktop-file-utils # for update-desktop-database
|
||||||
|
glib # for glib-compile-resources
|
||||||
|
gtk3 # for gtk-update-icon-cache
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gtk3
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs meson_post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Graphical frontend for Hamachi on Linux";
|
||||||
|
homepage = "https://haguichi.net/";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ OPNA2608 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6850,6 +6850,8 @@ with pkgs;
|
||||||
|
|
||||||
pxz = callPackage ../tools/compression/pxz { };
|
pxz = callPackage ../tools/compression/pxz { };
|
||||||
|
|
||||||
|
haguichi = callPackage ../tools/networking/haguichi { };
|
||||||
|
|
||||||
hans = callPackage ../tools/networking/hans { };
|
hans = callPackage ../tools/networking/hans { };
|
||||||
|
|
||||||
h2 = callPackage ../servers/h2 { };
|
h2 = callPackage ../servers/h2 { };
|
||||||
|
|
Loading…
Reference in a new issue