Files
nixpkgs/pkgs/by-name/ne/netpeek/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

65 lines
1.2 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
meson,
ninja,
appstream,
desktop-file-utils,
gobject-introspection,
wrapGAppsHook4,
pkg-config,
libadwaita,
libportal-gtk4,
gnome,
}:
python3Packages.buildPythonApplication rec {
pname = "netpeek";
version = "0.2.4";
pyproject = false;
src = fetchFromGitHub {
owner = "ZingyTomato";
repo = "NetPeek";
tag = "v${version}";
hash = "sha256-mouXMFYhCBEUTyPfuaw570ZC40TJuprldiSiP0Il0KA=";
};
nativeBuildInputs = [
meson
ninja
appstream
desktop-file-utils
gobject-introspection
wrapGAppsHook4
pkg-config
];
buildInputs = [
libadwaita
libportal-gtk4
];
dependencies = with python3Packages; [
pygobject3
ping3
python-nmap
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = {
description = "Modern network scanner for GNOME";
homepage = "https://github.com/ZingyTomato/NetPeek";
changelog = "https://github.com/ZingyTomato/NetPeek/releases/tag/${src.tag}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ Cameo007 ];
mainProgram = "netpeek";
platforms = lib.platforms.linux;
};
}