nixpkgs/pkgs/games/xsnow/default.nix

27 lines
780 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk3-x11, libXt, libXpm }:
2014-11-12 16:52:21 +00:00
stdenv.mkDerivation rec {
pname = "xsnow";
2021-12-12 05:46:19 +00:00
version = "3.3.6";
2014-11-12 16:52:21 +00:00
src = fetchurl {
url = "https://ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz";
2021-12-12 05:46:19 +00:00
sha256 = "sha256-rTJO1btS1VBHatj9Yr2R6vZBUPQtCB1Aa6AD6IzwuLg=";
2014-11-12 16:52:21 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3-x11 libxml2 libXt libXpm ];
makeFlags = [ "gamesdir=$(out)/bin" ];
2014-11-12 16:52:21 +00:00
enableParallelBuilding = true;
2014-11-12 16:52:21 +00:00
meta = with lib; {
2014-11-12 16:52:21 +00:00
description = "An X-windows application that will let it snow on the root, in between and on windows";
homepage = "https://ratrabbit.nl/ratrabbit/xsnow/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ robberer ];
platforms = platforms.unix;
2018-11-28 02:15:45 +00:00
};
2014-11-12 16:52:21 +00:00
}