Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
944 B · 53 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools, setuptools-scm,
# dependencies matplotlib,
# tests pytestCheckHook,}:
buildPythonPackage rec { pname = "mplcursors"; version = "0.6"; pyproject = true;
src = fetchFromGitHub { owner = "anntzer"; repo = "mplcursors"; rev = "v${version}"; hash = "sha256-L5pJqRpgPRQEsRDoP10+Pi8uzH5TQNBuGRx7hIL1x7s="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ matplotlib ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mplcursors" ];
meta = { description = "Interactive data selection cursors for Matplotlib"; homepage = "https://github.com/anntzer/mplcursors"; changelog = "https://github.com/anntzer/mplcursors/blob/${src.rev}/CHANGELOG.rst"; license = lib.licenses.zlib; maintainers = with lib.maintainers; [ doronbehar ]; };}