Files
nixpkgs/pkgs/development/python-modules/py-serializable/default.nix
Martin Weinelt 83008ee916 python3Packages.py-serializable: 1.1.2 -> 2.1.0
https://github.com/madpah/serializable/blob/v2.1.0/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:25 +02:00

55 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
defusedxml,
fetchFromGitHub,
lxml,
poetry-core,
pytestCheckHook,
pythonOlder,
xmldiff,
}:
buildPythonPackage rec {
pname = "py-serializable";
version = "2.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "madpah";
repo = "serializable";
tag = "v${version}";
hash = "sha256-nou1/80t9d2iKOdZZbcN4SI3dlvuC8T55KMCP/cDEEU=";
};
build-system = [ poetry-core ];
pythonRelaxDeps = [ "defusedxml" ];
dependencies = [ defusedxml ];
nativeCheckInputs = [
lxml
pytestCheckHook
xmldiff
];
pythonImportsCheck = [ "py_serializable" ];
disabledTests = [
# AssertionError: '<ns0[155 chars]itle>The Phoenix
"test_serializable_no_defaultNS"
"test_serializable_with_defaultNS"
];
meta = with lib; {
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/${src.tag}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}