depot/third_party/nixpkgs/pkgs/development/python-modules/mpldatacursor/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

31 lines
678 B
Nix

{ 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 ];
};
}