ta-lib: 0.4.0 -> 0.6.4

This lib remains version `0.4.0` since 2007: https://web.archive.org/web/20230602201010/https://ta-lib.org/hdr_dw.html
until `2024-12` they released `0.6.1`: https://github.com/TA-Lib/ta-lib/releases/tag/v0.6.1

The original src is a GitHub repo that created by the maintainer who initialized this pkg in #206363
it contains files from the uncompressed release tarball on https://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz/download
which differs from source in SVN repo on sourceforge: https://sourceforge.net/p/ta-lib/code/HEAD/tree/tags/release-0-4-0/ta-lib/c/
and later its official GitHub repo: https://github.com/TA-Lib/ta-lib/tree/v0.4.0
This commit is contained in:
n0099
2026-06-20 19:27:27 +00:00
parent 54f774c345
commit 74800933bf
+6 -14
View File
@@ -3,31 +3,23 @@
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ta-lib";
version = "0.4.0";
version = "0.6.4";
src = fetchFromGitHub {
owner = "rafa-dot-el";
repo = "talib";
rev = finalAttrs.version;
sha256 = "sha256-bIzN8f9ZiOLaVzGAXcZUHUh/v9z1U+zY+MnyjJr1lSw=";
owner = "TA-Lib";
repo = "ta-lib";
tag = "v${finalAttrs.version}";
hash = "sha256-aTRiScPNWsGDwJvumZXlMilvSDYZVDWgpeZ2F/S5WgQ=";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
];
hardeningDisable = [ "format" ];
nativeBuildInputs = [ autoreconfHook ];
meta = {
description = "Add technical analysis to your own financial market trading applications";
mainProgram = "ta-lib-config";
homepage = "https://ta-lib.org/";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ rafael ];
};