From bfb3756a6c2c9ae45e07557867d6a405a371ac91 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 14:21:35 +0000 Subject: [PATCH 1/3] python312Packages.py-serializable: 1.0.2 -> 1.0.3 --- pkgs/development/python-modules/py-serializable/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/py-serializable/default.nix b/pkgs/development/python-modules/py-serializable/default.nix index 2834aeaf53d9..afc959f67415 100644 --- a/pkgs/development/python-modules/py-serializable/default.nix +++ b/pkgs/development/python-modules/py-serializable/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "py-serializable"; - version = "1.0.2"; + version = "1.0.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "madpah"; repo = "serializable"; rev = "refs/tags/v${version}"; - hash = "sha256-RhipoPTewPaYwspTnywLr5FvFVUaFixfRQk6aUMvB4w="; + hash = "sha256-oVjb7/9RWvQd5L6xQBrspfblPzMaRvnZHDuojTuq+zE="; }; nativeBuildInputs = [ From b9c620dae5c3452972a68844f3ca3202a85e5065 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 20:46:27 +0200 Subject: [PATCH 2/3] python312Packages.py-serializable: refactor --- pkgs/development/python-modules/py-serializable/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/py-serializable/default.nix b/pkgs/development/python-modules/py-serializable/default.nix index afc959f67415..373f61abbbfe 100644 --- a/pkgs/development/python-modules/py-serializable/default.nix +++ b/pkgs/development/python-modules/py-serializable/default.nix @@ -23,11 +23,11 @@ buildPythonPackage rec { hash = "sha256-oVjb7/9RWvQd5L6xQBrspfblPzMaRvnZHDuojTuq+zE="; }; - nativeBuildInputs = [ + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ defusedxml ]; @@ -48,7 +48,7 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Pythonic library to aid with serialisation and deserialisation to/from JSON and XML"; + description = "Library to aid with serialisation and deserialisation to/from JSON and XML"; homepage = "https://github.com/madpah/serializable"; changelog = "https://github.com/madpah/serializable/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; From f53d828847965ee54f40bacb9237bd0e71c9878b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 20:46:49 +0200 Subject: [PATCH 3/3] python312Packages.py-serializable: format with nixfmt --- .../py-serializable/default.nix | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/py-serializable/default.nix b/pkgs/development/python-modules/py-serializable/default.nix index 373f61abbbfe..dd7b8dd4312d 100644 --- a/pkgs/development/python-modules/py-serializable/default.nix +++ b/pkgs/development/python-modules/py-serializable/default.nix @@ -1,12 +1,13 @@ -{ lib -, buildPythonPackage -, defusedxml -, fetchFromGitHub -, lxml -, poetry-core -, pytestCheckHook -, pythonOlder -, xmldiff +{ + lib, + buildPythonPackage, + defusedxml, + fetchFromGitHub, + lxml, + poetry-core, + pytestCheckHook, + pythonOlder, + xmldiff, }: buildPythonPackage rec { @@ -23,13 +24,9 @@ buildPythonPackage rec { hash = "sha256-oVjb7/9RWvQd5L6xQBrspfblPzMaRvnZHDuojTuq+zE="; }; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - dependencies = [ - defusedxml - ]; + dependencies = [ defusedxml ]; nativeCheckInputs = [ lxml @@ -37,9 +34,7 @@ buildPythonPackage rec { xmldiff ]; - pythonImportsCheck = [ - "serializable" - ]; + pythonImportsCheck = [ "serializable" ]; disabledTests = [ # AssertionError: 'The Phoenix