2021-06-07 14:21:02 +02:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk3-x11, libXt, libXpm }:
|
2014-11-12 17:52:21 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "xsnow";
|
2021-09-05 04:29:23 +02:00
|
|
|
version = "3.3.1";
|
2014-11-12 17:52:21 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-07 14:21:02 +02:00
|
|
|
url = "https://ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz";
|
2021-09-05 04:29:23 +02:00
|
|
|
sha256 = "sha256-3piLgcZXQicHisAqr5XxbFqAMHyK7HzU5Re0mvfOBhE=";
|
2014-11-12 17:52:21 +01:00
|
|
|
};
|
|
|
|
|
2021-06-07 14:21:02 +02:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ gtk3-x11 libxml2 libXt libXpm ];
|
|
|
|
|
|
|
|
makeFlags = [ "gamesdir=$(out)/bin" ];
|
2014-11-12 17:52:21 +01:00
|
|
|
|
2021-06-07 14:21:02 +02:00
|
|
|
enableParallelBuilding = true;
|
2014-11-12 17:52:21 +01:00
|
|
|
|
2021-06-07 14:21:02 +02:00
|
|
|
meta = with lib; {
|
2014-11-12 17:52:21 +01:00
|
|
|
description = "An X-windows application that will let it snow on the root, in between and on windows";
|
2021-06-07 14:21:02 +02:00
|
|
|
homepage = "https://ratrabbit.nl/ratrabbit/xsnow/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ robberer ];
|
|
|
|
platforms = platforms.unix;
|
2018-11-28 03:15:45 +01:00
|
|
|
};
|
2014-11-12 17:52:21 +01:00
|
|
|
}
|