2022-12-28 21:21:41 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-03-15 16:39:30 +00:00
|
|
|
pname = "ta-lib";
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rafa-dot-el";
|
|
|
|
repo = "talib";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2022-12-28 21:21:41 +00:00
|
|
|
sha256 = "sha256-bIzN8f9ZiOLaVzGAXcZUHUh/v9z1U+zY+MnyjJr1lSw=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description =
|
|
|
|
"TA-Lib is a library that provides common functions for the technical analysis of financial market data.";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ta-lib-config";
|
2022-12-28 21:21:41 +00:00
|
|
|
homepage = "https://ta-lib.org/";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ rafael ];
|
|
|
|
};
|
|
|
|
}
|