From b1ef053efa89c18a42903a30bff4f92e40d68fe3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 28 Sep 2024 22:32:18 +0200 Subject: [PATCH 1/2] python312Packages.camel-converter: 3.1.2 -> 4.0.0 Diff: https://github.com/sanders41/camel-converter/compare/refs/tags/v3.1.2...v4.0.0 Changelog: https://github.com/sanders41/camel-converter/releases/tag/v4.0.0 --- .../python-modules/camel-converter/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/camel-converter/default.nix b/pkgs/development/python-modules/camel-converter/default.nix index 80bd4e14db8b..1dcb1e9049e8 100644 --- a/pkgs/development/python-modules/camel-converter/default.nix +++ b/pkgs/development/python-modules/camel-converter/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - poetry-core, + hatchling, pydantic, pytestCheckHook, pytest-cov-stub, @@ -11,19 +11,19 @@ buildPythonPackage rec { pname = "camel-converter"; - version = "3.1.2"; + version = "4.0.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "sanders41"; repo = "camel-converter"; rev = "refs/tags/v${version}"; - hash = "sha256-CJbflRI3wfUmPoVuLwZDYcobESmySvnS99PdpSDhDLk="; + hash = "sha256-JdONlMTBnZ2QMcsr+GXmfQzxaFOndmG77qbBa9A3m+k="; }; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; passthru.optional-dependencies = { pydantic = [ pydantic ]; @@ -45,7 +45,7 @@ buildPythonPackage rec { description = "Client for the Meilisearch API"; homepage = "https://github.com/sanders41/camel-converter"; changelog = "https://github.com/sanders41/camel-converter/releases/tag/v${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } From c461b76cebd36dd414e83c76b907a625b820ea8d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 28 Sep 2024 22:34:26 +0200 Subject: [PATCH 2/2] python312Packages.camel-converter: fix description --- pkgs/development/python-modules/camel-converter/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/camel-converter/default.nix b/pkgs/development/python-modules/camel-converter/default.nix index 1dcb1e9049e8..5837ef4d0c7c 100644 --- a/pkgs/development/python-modules/camel-converter/default.nix +++ b/pkgs/development/python-modules/camel-converter/default.nix @@ -42,7 +42,7 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Client for the Meilisearch API"; + description = "Module to convert strings from snake case to camel case or camel case to snake case"; homepage = "https://github.com/sanders41/camel-converter"; changelog = "https://github.com/sanders41/camel-converter/releases/tag/v${version}"; license = licenses.mit;