Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-24.11] xsnow: 3.4.4 -> 3.7.9, use wrapGAppsHook3 #383655

Draft
wants to merge 1 commit into
base: release-24.11
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 35 additions & 7 deletions pkgs/by-name/xs/xsnow/package.nix
Original file line number Diff line number Diff line change
@@ -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" ];

Expand All @@ -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;
};
}