python39packages.mpldatacursor: init at 0.7.1

This commit is contained in:
Bruno Bzeznik 2021-08-24 11:11:20 +02:00
parent 997f4452a4
commit 8349ef5050
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, matplotlib
}:
buildPythonPackage rec {
pname = "mpldatacursor";
version = "0.7.1";
src = fetchFromGitHub {
owner = "joferkington";
repo = pname;
rev = "v${version}";
sha256 = "0i1lwl6x6hgjq4xwsc138i4v5895lmnpfqwpzpnj5mlck6fy6rda";
};
propagatedBuildInputs = [ matplotlib ];
# No tests included in archive
doCheck = false;
pythonImportsCheck = [ "mpldatacursor" ];
meta = with lib; {
homepage = "https://github.com/joferkington/mpldatacursor";
description = "Interactive data cursors for matplotlib";
license = licenses.mit;
maintainers = with maintainers; [ bzizou ];
};
}

View File

@ -4640,6 +4640,8 @@ in {
mpi4py = callPackage ../development/python-modules/mpi4py { };
mpldatacursor = callPackage ../development/python-modules/mpldatacursor { };
mplfinance = callPackage ../development/python-modules/mplfinance { };
mplleaflet = callPackage ../development/python-modules/mplleaflet { };