python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / ggz_base_libs / default.nix
blob162a64eeb5dad29c28375c369c078e6cb6b15a61
1 { lib, stdenv, fetchurl, intltool, openssl, expat, libgcrypt }:
3 stdenv.mkDerivation rec {
4   pname = "ggz-base-libs";
5   version = "0.99.5";
7   src = fetchurl {
8     url = "http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/ggz-base-libs-snapshot-${version}.tar.gz";
9     sha256 = "1cw1vg0fbj36zyggnzidx9cbjwfc1yr4zqmsipxnvns7xa2awbdk";
10   };
12   nativeBuildInputs = [ intltool ];
13   buildInputs = [ openssl expat libgcrypt ];
15   patchPhase = ''
16     substituteInPlace configure \
17       --replace "/usr/local/ssl/include" "${openssl.dev}/include" \
18       --replace "/usr/local/ssl/lib" "${lib.getLib openssl}/lib"
19   '';
21   configureFlags = [
22     "--with-tls"
23   ];
25   meta = with lib; {
26     description = "GGZ Gaming zone libraries";
27     maintainers = with maintainers;
28     [
29       raskin
30     ];
31     platforms = platforms.linux;
32     license = licenses.gpl2;
33     downloadPage = "http://www.ggzgamingzone.org/releases/";
34   };