{ stdenv, fetchurl, perl, finger_bsd }: let version = "0.38"; in stdenv.mkDerivation { name = "lbdb-${version}"; src = fetchurl { url = "http://www.spinnaker.de/debian/lbdb_${version}.tar.gz"; sha256 = "1279ssfrh4cqrjzq5q47xbdlw5qx3aazxjshi86ljm4cw6xxvgar"; }; buildInputs = [ perl ] ++ stdenv.lib.optional (!stdenv.isDarwin) finger_bsd; meta = { homepage = http://www.spinnaker.de/lbdb/; license = stdenv.lib.licenses.gpl2; platforms = stdenv.lib.platforms.all; description = "The Little Brother's Database"; }; }