1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 matplotlib,
6 pandas,
7}:
8
9buildPythonPackage rec {
10 pname = "mplfinance";
11 version = "0.12.7a7";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-pATiprTELt8GrEkeKjILPfpdNDVoex5t+Mc+6Gg7cPY=";
17 };
18
19 propagatedBuildInputs = [
20 matplotlib
21 pandas
22 ];
23
24 # tests are only included on GitHub where this version misses a tag
25 # and half of them fail
26 doCheck = false;
27
28 pythonImportsCheck = [ "mplfinance" ];
29
30 meta = with lib; {
31 description = "Matplotlib utilities for the visualization, and visual analysis, of financial data";
32 homepage = "https://github.com/matplotlib/mplfinance";
33 license = [ licenses.bsd3 ];
34 };
35}