depot/third_party/nixpkgs/pkgs/tools/networking/haguichi/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

54 lines
951 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.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 ];
};
}