summary refs log tree commit diff
path: root/pkgs/games/xsnow/default.nix
blob: b3011fbce77ae64843028bb76c139af6528408f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl, libXt, libXpm, libXext, imake, gccmakedep }:

stdenv.mkDerivation rec {

  version = "1.42";
  pname = "xsnow";

  src = fetchurl {
    url = "https://janswaal.home.xs4all.nl/Xsnow/${pname}-${version}.tar.gz";
    sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh";
  };

  nativeBuildInputs = [ imake gccmakedep ];
  buildInputs = [
    libXt libXpm libXext
  ];

  makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];

  meta = {
    description = "An X-windows application that will let it snow on the root, in between and on windows";
    homepage = http://janswaal.home.xs4all.nl/Xsnow/;
    license = stdenv.lib.licenses.unfree;
    maintainers = [ stdenv.lib.maintainers.robberer ];
  };
}