netpeek: init at 0.2.3.1 (#430214)

authored by

Yohann Boniface and committed by
GitHub
f82b61ce b300c0ad

+63
+63
pkgs/by-name/ne/netpeek/package.nix
··· 1 + { 2 + lib, 3 + python3Packages, 4 + fetchFromGitHub, 5 + meson, 6 + ninja, 7 + appstream, 8 + desktop-file-utils, 9 + gobject-introspection, 10 + wrapGAppsHook4, 11 + pkg-config, 12 + libadwaita, 13 + libportal-gtk4, 14 + gnome, 15 + }: 16 + python3Packages.buildPythonApplication rec { 17 + pname = "netpeek"; 18 + version = "0.2.3.1"; 19 + pyproject = false; 20 + 21 + src = fetchFromGitHub { 22 + owner = "ZingyTomato"; 23 + repo = "NetPeek"; 24 + tag = "v${version}"; 25 + hash = "sha256-3PbGK8e/W4pHlXwIvW6kmyeBMvzBIS2DrV0pxafgJOY="; 26 + }; 27 + 28 + nativeBuildInputs = [ 29 + meson 30 + ninja 31 + appstream 32 + desktop-file-utils 33 + gobject-introspection 34 + wrapGAppsHook4 35 + pkg-config 36 + ]; 37 + 38 + buildInputs = [ 39 + libadwaita 40 + libportal-gtk4 41 + ]; 42 + 43 + dependencies = with python3Packages; [ 44 + pygobject3 45 + ping3 46 + ]; 47 + 48 + dontWrapGApps = true; 49 + 50 + preFixup = '' 51 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 52 + ''; 53 + 54 + meta = { 55 + description = "Modern network scanner for GNOME"; 56 + homepage = "https://github.com/ZingyTomato/NetPeek"; 57 + changelog = "https://github.com/ZingyTomato/NetPeek/releases/tag/${src.tag}"; 58 + license = lib.licenses.gpl3Plus; 59 + maintainers = with lib.maintainers; [ Cameo007 ]; 60 + mainProgram = "netpeek"; 61 + platforms = lib.platforms.linux; 62 + }; 63 + }