diff options
| author | griffi-gh <prasol258@gmail.com> | 2024-12-01 14:14:03 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-02-20 14:07:52 +0000 |
| commit | d9e7940c1c25da17d5c10c0befaee3ebbb6298b1 (patch) | |
| tree | ce8a43f4869810e9bb2a439bc3b0c132c06ba890 | |
| parent | [Backport release-24.11] google-chrome: 133.0.6943.98 -> 133.0.6943.126 (#383... (diff) | |
| download | nixpkgs-origin/backport-360760-to-release-24.11.tar.gz | |
xsnow: 3.4.4 -> 3.7.9origin/backport-360760-to-release-24.11
(cherry picked from commit 2995a17c25fe44cf04f0857b2eeee98950e317a5)
| -rw-r--r-- | pkgs/by-name/xs/xsnow/package.nix | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/pkgs/by-name/xs/xsnow/package.nix b/pkgs/by-name/xs/xsnow/package.nix index ba9791cc6f1a..a94ad14e8364 100644 --- a/pkgs/by-name/xs/xsnow/package.nix +++ b/pkgs/by-name/xs/xsnow/package.nix @@ -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; }; } |
