Merge pull request #190733 from zendo/whatip

whatip: init at 1.1
This commit is contained in:
Sandro 2022-10-06 09:42:20 +02:00 committed by GitHub
commit cba026e859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,63 @@
{ lib
, fetchFromGitLab
, python3
, meson
, ninja
, pkg-config
, glib
, gtk4
, libadwaita
, librsvg
, blueprint-compiler
, gobject-introspection
, wrapGAppsHook4
, appstream-glib
, desktop-file-utils
}:
python3.pkgs.buildPythonApplication rec {
pname = "whatip";
version = "1.1";
format = "other";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GabMus";
repo = pname;
rev = version;
hash = "sha256-ltimqdFTvvjXtvLC5jAdRaNX15i2Ww5mB3DIr4r9Yzg=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
blueprint-compiler
wrapGAppsHook4
appstream-glib
desktop-file-utils
];
buildInputs = [
glib
gtk4
librsvg
libadwaita
gobject-introspection
];
propagatedBuildInputs = with python3.pkgs; [
netaddr
requests
pygobject3
];
meta = with lib; {
description = "Info on your IP";
homepage = "https://gitlab.gnome.org/GabMus/whatip";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ zendo ];
};
}

View File

@ -12316,6 +12316,8 @@ with pkgs;
wf-recorder = callPackage ../applications/video/wf-recorder { };
whatip = callPackage ../tools/networking/whatip {};
whatweb = callPackage ../tools/security/whatweb { };
whipper = callPackage ../applications/audio/whipper { };