Merge pull request #135534 from bzizou/mpldatacursor

python39packages.mpldatacursor: init at 0.7.1
This commit is contained in:
Sandro 2021-08-25 13:37:31 +02:00 committed by GitHub
commit 6c3207cd62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -4644,6 +4644,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 { };