2015-07-16 01:48:41 +00:00
|
|
|
{ stdenv, fetchurl, intltool, openssl, expat, libgcrypt }:
|
2011-04-17 17:55:29 +00:00
|
|
|
|
2015-07-16 01:48:41 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.99.5";
|
|
|
|
baseName = "ggz-base-libs";
|
|
|
|
name = "${baseName}-snapshot-${version}";
|
2011-04-17 17:55:29 +00:00
|
|
|
|
2015-07-16 01:48:41 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/${name}.tar.gz";
|
|
|
|
sha256 = "1cw1vg0fbj36zyggnzidx9cbjwfc1yr4zqmsipxnvns7xa2awbdk";
|
|
|
|
};
|
2011-04-17 17:55:29 +00:00
|
|
|
|
2015-07-16 01:48:41 +00:00
|
|
|
buildInputs = [ intltool openssl expat libgcrypt ];
|
2011-04-17 17:55:29 +00:00
|
|
|
|
2016-09-02 10:11:22 +00:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace "/usr/local/ssl/include" "${openssl.dev}/include" \
|
|
|
|
--replace "/usr/local/ssl/lib" "${openssl.out}/lib"
|
|
|
|
'';
|
|
|
|
|
2011-04-17 17:55:29 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-tls"
|
|
|
|
];
|
2015-07-16 01:48:41 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2011-04-17 17:55:29 +00:00
|
|
|
description = "GGZ Gaming zone libraries";
|
2015-07-16 01:48:41 +00:00
|
|
|
maintainers = with maintainers;
|
2011-04-17 17:55:29 +00:00
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
2015-07-16 01:48:41 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
downloadPage = "http://www.ggzgamingzone.org/releases/";
|
2011-04-17 17:55:29 +00:00
|
|
|
};
|
2015-07-16 01:48:41 +00:00
|
|
|
}
|