depot/third_party/nixpkgs/pkgs/tools/networking/haguichi/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

56 lines
988 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, python3
, vala
, wrapGAppsHook
, desktop-file-utils
, glib
, gtk3
}:
stdenv.mkDerivation rec {
pname = "haguichi";
version = "1.4.6";
src = fetchFromGitHub {
owner = "ztefn";
repo = "haguichi";
rev = version;
hash = "sha256-H/Aw8zJOioOLWxiM/pMb+QSIoEp3zIkLb26S6QN3hv0=";
};
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
'';
passthru.updateScript = ./update.sh;
meta = with lib; {
description = "Graphical frontend for Hamachi on Linux";
homepage = "https://haguichi.net/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ OPNA2608 ];
};
}