nixpkgs/pkgs/development/python-modules/mpldatacursor/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

33 lines
703 B
Nix

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