mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
27 lines
732 B
Nix
27 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 ];
|
|
};
|
|
}
|