Unverified Commit 29b77890 authored by Samuel Ainsworth's avatar Samuel Ainsworth Committed by GitHub
Browse files

Merge pull request #331287 from GaetanLepage/mizani

python312Packages.mizani: 0.11.4 -> 0.12.0
parents 5b36d1f5 7af03a62
Loading
Loading
Loading
Loading
+15 −9
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  pythonOlder,
  fetchFromGitHub,

  # build-system
  setuptools-scm,

  # dependencies
  matplotlib,
  palettable,
  pandas,
  pytestCheckHook,
  pythonOlder,
  scipy,
  setuptools-scm,

  # checks
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "mizani";
  version = "0.11.4";
  version = "0.12.0";
  pyproject = true;

  disabled = pythonOlder "3.9";
  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "has2k1";
    repo = "mizani";
    rev = "refs/tags/v${version}";
    hash = "sha256-2XBvjlVSEjeNc7UlPZ00cNrWVuHh/FgDwkvWus7ndr4=";
    hash = "sha256-NQu1vzISMa0UnnSqU8ypp3pc3n6MUI1j5nYUPU14r9U=";
  };

  build-system = [ setuptools-scm ];
@@ -43,11 +49,11 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "mizani" ];

  meta = with lib; {
  meta = {
    description = "Scales for Python";
    homepage = "https://github.com/has2k1/mizani";
    changelog = "https://github.com/has2k1/mizani/releases/tag/v${version}";
    license = licenses.bsd3;
    maintainers = with maintainers; [ samuela ];
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ samuela ];
  };
}
+5 −3
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@ buildPythonPackage rec {

  build-system = [ setuptools-scm ];

  pythonRelaxDeps = [ "mizani" ];

  dependencies = [
    matplotlib
    mizani
@@ -105,11 +107,11 @@ buildPythonPackage rec {
    "tests/test_lint_and_format.py"
  ];

  meta = with lib; {
  meta = {
    description = "Grammar of graphics for Python";
    homepage = "https://plotnine.readthedocs.io/";
    changelog = "https://github.com/has2k1/plotnine/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ onny ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ onny ];
  };
}