1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/games/xsnow/default.nix
2021-09-05 02:29:23 +00:00

27 lines
780 B
Nix

{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk3-x11, libXt, libXpm }:
stdenv.mkDerivation rec {
pname = "xsnow";
version = "3.3.1";
src = fetchurl {
url = "https://ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz";
sha256 = "sha256-3piLgcZXQicHisAqr5XxbFqAMHyK7HzU5Re0mvfOBhE=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3-x11 libxml2 libXt libXpm ];
makeFlags = [ "gamesdir=$(out)/bin" ];
enableParallelBuilding = true;
meta = with lib; {
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;
};
}