Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, intltool, openssl, expat, libgcrypt }: 2 3stdenv.mkDerivation rec { 4 pname = "ggz-base-libs"; 5 version = "0.99.5"; 6 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 }; 11 12 nativeBuildInputs = [ intltool ]; 13 buildInputs = [ openssl expat libgcrypt ]; 14 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 ''; 20 21 configureFlags = [ 22 "--with-tls" 23 ]; 24 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 }; 35}