1 { lib, stdenv, fetchurl, qt4, gdb, zlib }:
3 stdenv.mkDerivation rec {
8 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/omapd/${pname}-${version}.tgz";
9 sha256 = "0d7lgv957jhbsav60j50jhdy3rpcqgql74qsniwnnpm3yqj9p0xc";
12 patches = [ ./zlib.patch ];
14 buildInputs = [ qt4 zlib gdb ];
17 (cd plugins/RAMHashTables; qmake; make)
23 install -vD omapd $out/bin/omapd
24 install -vD omapd.conf $out/etc/omapd.conf
25 install -vD plugins/libRAMHashTables.so $out/usr/lib/omapd/plugins/libRAMHashTables.so
26 ln -s $out/usr/lib/omapd/plugins $out/bin/plugins
30 homepage = "https://code.google.com/archive/p/omapd/";
31 description = "IF-MAP Server that implements the IF-MAP v1.1 and v2.0 specifications published by the Trusted Computing Group (TCG)";
32 license = licenses.gpl3;
34 platforms = platforms.linux;