about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/mpldatacursor/default.nix
blob: 649d5ee814d2bc2f1f71abfb0d401cade9476727 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, buildPythonPackage
, fetchFromGitHub
, matplotlib
}:

buildPythonPackage rec {
  pname = "mpldatacursor";
  version = "0.7.1";
  format = "setuptools";

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