nixpkgs/pkgs/development/libraries/ta-lib/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
701 B
Nix
Raw Normal View History

2022-12-16 15:54:49 +00:00
{ 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 ];
};
}