iplookup-gtk: init at 0.3.4
This commit is contained in:
parent
96b429b0b0
commit
4ff1b500f1
58
pkgs/by-name/ip/iplookup-gtk/package.nix
Normal file
58
pkgs/by-name/ip/iplookup-gtk/package.nix
Normal file
@ -0,0 +1,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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user