Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk3-x11, libXt, libXpm }: 2 3stdenv.mkDerivation rec { 4 pname = "xsnow"; 5 version = "3.4.4"; 6 7 src = fetchurl { 8 url = "https://ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz"; 9 sha256 = "sha256-fPMy5AxKspFkcWphf/IjMc/ZQtayljThKxbcMtvOjRc="; 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 buildInputs = [ gtk3-x11 libxml2 libXt libXpm ]; 14 15 makeFlags = [ "gamesdir=$(out)/bin" ]; 16 17 enableParallelBuilding = true; 18 19 meta = with lib; { 20 description = "An X-windows application that will let it snow on the root, in between and on windows"; 21 homepage = "https://ratrabbit.nl/ratrabbit/xsnow/"; 22 license = licenses.gpl3Plus; 23 maintainers = with maintainers; [ robberer ]; 24 platforms = platforms.unix; 25 }; 26}