trivionomicon: ibkr-tws-api: initial commit

This commit is contained in:
Alejandro Soto 2026-03-27 15:55:40 -06:00
parent 652871f78f
commit 64721389f6
3 changed files with 194 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{
fetchzip,
lib,
stdenv,
}: let
version = "20U3";
in
stdenv.mkDerivation {
pname = "intel-decimalfp";
inherit version;
src = fetchzip {
url = "https://www.netlib.org/misc/intel/IntelRDFPMathLib${version}.tar.gz";
hash = "sha256-m+Yp1IwVEEZIz+cMQXHhkQrrWeRDfIk9ey7nWvV+u44=";
stripRoot = false;
};
sourceRoot = "source/LIBRARY";
makeFlags = [
"OBJ_DIR=$(out)/lib"
"LIB_DIR=$(out)/lib"
];
preBuild = ''
mkdir -p $out/lib
touch $out/lib/.directory_exists
'';
postBuild = ''
rm $out/lib/.directory_exists
'';
installPhase = ''
runHook preInstall
rm -f $out/lib/*.o
runHook postInstall
'';
}