nixpkgs/pkgs/tools/networking/whatip/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

64 lines
1.0 KiB
Nix
Raw Normal View History

2022-09-11 00:37:27 +00:00
{ 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";
2023-04-23 01:26:40 +00:00
version = "1.2";
2022-09-11 00:37:27 +00:00
format = "other";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GabMus";
repo = pname;
rev = version;
2023-04-23 01:26:40 +00:00
hash = "sha256-gt/NKgnCpRoVmLvEJJq2geng4miM2g+YhXYEOm5pPTA=";
2022-09-11 00:37:27 +00:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
blueprint-compiler
wrapGAppsHook4
appstream-glib
desktop-file-utils
gobject-introspection
2022-09-11 00:37:27 +00:00
];
buildInputs = [
glib
gtk4
librsvg
libadwaita
];
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 ];
};
}