mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
804 B
Nix
28 lines
804 B
Nix
{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk3-x11, libXt, libXpm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xsnow";
|
|
version = "3.4.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz";
|
|
sha256 = "sha256-fPMy5AxKspFkcWphf/IjMc/ZQtayljThKxbcMtvOjRc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ gtk3-x11 libxml2 libXt libXpm ];
|
|
|
|
makeFlags = [ "gamesdir=$(out)/bin" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
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/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ robberer ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|