depot/third_party/nixpkgs/pkgs/development/libraries/ta-lib/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

26 lines
732 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
stdenv.mkDerivation rec {
pname = "ta-lib";
version = "0.4.0";
src = fetchFromGitHub {
owner = "rafa-dot-el";
repo = "talib";
rev = version;
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.";
mainProgram = "ta-lib-config";
homepage = "https://ta-lib.org/";
license = lib.licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ rafael ];
};
}