1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, matplotlib 5}: 6 7buildPythonPackage rec { 8 pname = "mpldatacursor"; 9 version = "0.7.1"; 10 11 src = fetchFromGitHub { 12 owner = "joferkington"; 13 repo = pname; 14 rev = "v${version}"; 15 sha256 = "0i1lwl6x6hgjq4xwsc138i4v5895lmnpfqwpzpnj5mlck6fy6rda"; 16 }; 17 18 propagatedBuildInputs = [ matplotlib ]; 19 20 # No tests included in archive 21 doCheck = false; 22 23 pythonImportsCheck = [ "mpldatacursor" ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/joferkington/mpldatacursor"; 27 description = "Interactive data cursors for matplotlib"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ bzizou ]; 30 }; 31}