gswatcher: init at 1.7.1
This commit is contained in:
parent
8edf06bea5
commit
cb460d69fb
71
pkgs/by-name/gs/gswatcher/package.nix
Normal file
71
pkgs/by-name/gs/gswatcher/package.nix
Normal file
@ -0,0 +1,71 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
|
||||
meson,
|
||||
ninja,
|
||||
vala,
|
||||
wrapGAppsHook4,
|
||||
desktop-file-utils,
|
||||
pkg-config,
|
||||
imagemagick,
|
||||
|
||||
gtk4,
|
||||
libadwaita,
|
||||
libgee,
|
||||
lua5_4,
|
||||
geoip,
|
||||
geolite-legacy,
|
||||
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gswatcher";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxndr";
|
||||
repo = "gswatcher";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-U09vovOanYmDl5ymFC3bXU8pi8aUq2tPUE5AEoqmfpc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
vala
|
||||
wrapGAppsHook4
|
||||
desktop-file-utils
|
||||
# Not packaged yet, optional
|
||||
# appstream-util
|
||||
pkg-config
|
||||
imagemagick
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
lua5_4
|
||||
geoip
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
ln -s ${geolite-legacy}/share/GeoIP $out/share/GeoIP
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Simple game server monitor and administrative tool";
|
||||
homepage = "https://github.com/lxndr/gswatcher";
|
||||
license = with lib.licenses; [ agpl3Plus ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ pluiedev ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user