commit
cba026e859
2 changed files with 65 additions and 0 deletions
63
pkgs/tools/networking/whatip/default.nix
Normal file
63
pkgs/tools/networking/whatip/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue