567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
34 lines
717 B
Nix
34 lines
717 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
matplotlib,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mpldatacursor";
|
|
version = "0.7.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "joferkington";
|
|
repo = "mpldatacursor";
|
|
rev = "v${version}";
|
|
sha256 = "0i1lwl6x6hgjq4xwsc138i4v5895lmnpfqwpzpnj5mlck6fy6rda";
|
|
};
|
|
|
|
propagatedBuildInputs = [ matplotlib ];
|
|
|
|
# No tests included in archive
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "mpldatacursor" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/joferkington/mpldatacursor";
|
|
description = "Interactive data cursors for matplotlib";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ bzizou ];
|
|
};
|
|
}
|