blob: 3d2486fe5b98b2d279269fa03a00e46ce1fab1d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
lib,
python3Packages,
fetchFromGitHub,
meson,
ninja,
pkg-config,
gobject-introspection,
wrapGAppsHook4,
desktop-file-utils,
libadwaita,
}:
python3Packages.buildPythonPackage rec {
pname = "iplookup-gtk";
version = "0.3.4";
pyproject = false; # Built with meson
src = fetchFromGitHub {
owner = "Bytezz";
repo = "IPLookup-gtk";
rev = "v${version}";
hash = "sha256-NqFE6vRdLpnlCzGAUE4iOfLmTnUgX3CHtoXfsbT3zm4=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
wrapGAppsHook4
desktop-file-utils
];
buildInputs = [
libadwaita
];
dependencies = with python3Packages; [
pygobject3
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = {
description = "Find info about an IP address";
homepage = "https://github.com/Bytezz/IPLookup-gtk";
changelog = "https://github.com/Bytezz/IPLookup-gtk/releases/tag/${src.rev}";
license = lib.licenses.gpl3Plus;
mainProgram = "iplookup";
maintainers = with lib.maintainers; [ aleksana ];
platforms = lib.platforms.linux;
};
}
|