16 buildPythonPackage rec {
17 pname = "mpl-scatter-density";
19 format = "setuptools";
21 disabled = pythonOlder "3.6";
23 src = fetchFromGitHub {
26 rev = "refs/tags/v${version}";
27 sha256 = "sha256-MMxM+iv5p9ZLcBpqa3tBBPbsMM/PTg6BXaDpGgSw+DE=";
31 # https://github.com/astrofrog/mpl-scatter-density/pull/37
33 name = "distutils-removal.patch";
34 url = "https://github.com/ifurther/mpl-scatter-density/commit/6feedabe1e82da67d8eec46a80eb370d9f334251.patch";
35 sha256 = "sha256-JqWlSm8mIwqjRPa+kMEaKipJyzGEO+gJK+Q045N1MXA=";
45 propagatedBuildInputs = [ matplotlib numpy fast-histogram ];
53 # AssertionError: (240, 240) != (216, 216)
54 # Erroneous pinning of figure DPI, sensitive to runtime environment
58 pythonImportsCheck = [ "mpl_scatter_density" ];
61 homepage = "https://github.com/astrofrog/mpl-scatter-density";
62 description = "Fast scatter density plots for Matplotlib";
63 license = licenses.bsd2;
64 maintainers = with maintainers; [ ifurther ];