xsnow: 3.4.4 -> 3.7.9, use wrapGAppsHook3 (#360760)

This commit is contained in:
misuzu
2024-12-31 15:50:08 +02:00
committed by GitHub
+35 -7
View File
@@ -1,16 +1,39 @@
{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk3-x11, libXt, libXpm }:
{
lib,
stdenv,
fetchurl,
pkg-config,
libxml2,
wrapGAppsHook3,
gtk3-x11,
xorg,
libxkbcommon,
gsl,
}:
stdenv.mkDerivation rec {
pname = "xsnow";
version = "3.4.4";
version = "3.7.9";
src = fetchurl {
url = "https://ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz";
sha256 = "sha256-fPMy5AxKspFkcWphf/IjMc/ZQtayljThKxbcMtvOjRc=";
sha256 = "sha256-DEzQblUfm2kd0I21sUwO3EVUm/WHnOk7T6iMgo3+EAY=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3-x11 libxml2 libXt libXpm ];
nativeBuildInputs = [
pkg-config
wrapGAppsHook3
];
buildInputs = [
gtk3-x11
libxkbcommon
libxml2
gsl
] ++ (with xorg; [
libX11
libXpm
libXt
libXtst
]);
makeFlags = [ "gamesdir=$(out)/bin" ];
@@ -20,8 +43,13 @@ stdenv.mkDerivation rec {
description = "X-windows application that will let it snow on the root, in between and on windows";
mainProgram = "xsnow";
homepage = "https://ratrabbit.nl/ratrabbit/xsnow/";
changelog = "https://ratrabbit.nl/ratrabbit/xsnow/changelog/index.html";
downloadPage = "https://ratrabbit.nl/ratrabbit/xsnow/downloads/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ robberer ];
maintainers = with maintainers; [
robberer
griffi-gh
];
platforms = platforms.unix;
};
}