17 buildPythonPackage rec {
18 pname = "mpl-scatter-density";
20 format = "setuptools";
22 disabled = pythonOlder "3.6";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 sha256 = "sha256-MMxM+iv5p9ZLcBpqa3tBBPbsMM/PTg6BXaDpGgSw+DE=";
32 # https://github.com/astrofrog/mpl-scatter-density/pull/37
34 name = "distutils-removal.patch";
35 url = "https://github.com/ifurther/mpl-scatter-density/commit/6feedabe1e82da67d8eec46a80eb370d9f334251.patch";
36 sha256 = "sha256-JqWlSm8mIwqjRPa+kMEaKipJyzGEO+gJK+Q045N1MXA=";
46 propagatedBuildInputs = [
58 # AssertionError: (240, 240) != (216, 216)
59 # Erroneous pinning of figure DPI, sensitive to runtime environment
63 pythonImportsCheck = [ "mpl_scatter_density" ];
66 homepage = "https://github.com/astrofrog/mpl-scatter-density";
67 description = "Fast scatter density plots for Matplotlib";
68 license = licenses.bsd2;
69 maintainers = with maintainers; [ ifurther ];