Files
nixpkgs/pkgs/development/python-modules/mplfinance/default.nix
2025-08-22 18:17:25 +00:00

36 lines
733 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
matplotlib,
pandas,
}:
buildPythonPackage rec {
pname = "mplfinance";
version = "0.12.10b0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-faFQtYUapRGa1uBrVeSDOLYZu2dz8bhd9d5npf/ZF78=";
};
propagatedBuildInputs = [
matplotlib
pandas
];
# tests are only included on GitHub where this version misses a tag
# and half of them fail
doCheck = false;
pythonImportsCheck = [ "mplfinance" ];
meta = with lib; {
description = "Matplotlib utilities for the visualization, and visual analysis, of financial data";
homepage = "https://github.com/matplotlib/mplfinance";
license = [ licenses.bsd3 ];
};
}