about summary refs log tree commit diff
path: root/pkgs/development/libraries/ta-lib/default.nix
blob: 57e3f34bc6461dfdb3080f3b0e453ed3e3b396d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:

stdenv.mkDerivation rec {
  name = "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.";
    homepage = "https://ta-lib.org/";
    license = lib.licenses.bsd3;

    platforms = platforms.linux;
    maintainers = with maintainers; [ rafael ];
  };
}