python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / games / xjump / default.nix
blob3c13fc1a9b7820f035724c8e7cea0855c423c700
1 { lib, stdenv, fetchFromGitHub, autoconf, automake, libX11, libXt, libXpm, libXaw, localStateDir?null }:
3 stdenv.mkDerivation {
4   pname = "xjump";
5   version = "2.9.3";
6   src = fetchFromGitHub {
7     owner = "hugomg";
8     repo = "xjump";
9     rev = "e7f20fb8c2c456bed70abb046c1a966462192b80";
10     sha256 = "0hq4739cvi5a47pxdc0wwkj2lmlqbf1xigq0v85qs5bq3ixmq2f7";
11   };
12   nativeBuildInputs = [ autoconf automake ];
13   buildInputs = [ libX11 libXt libXpm libXaw ];
14   preConfigure = "autoreconf --install";
15   patches = if stdenv.buildPlatform.isDarwin then [ ./darwin.patch ] else [];
16   configureFlags =
17     if localStateDir != null then
18       ["--localstatedir=${localStateDir}"]
19     else
20       [];
22   meta = with lib; {
23     description = "The falling tower game";
24     license = licenses.gpl2;
25     maintainers = with maintainers; [ pmeunier ];
26   };