Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, stdenv, buildPythonPackage, fetchFromGitHub,
# build-system flit-core,
# tests pytestCheckHook, simplejson,}:
buildPythonPackage rec { pname = "marshmallow"; version = "4.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "marshmallow-code"; repo = "marshmallow"; tag = version; hash = "sha256-P3MaS0wXyRCYyHW07ifPoglP95SUakhH5rdkAsktXag="; };
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook simplejson ];
disabledTests = lib.optionals stdenv.hostPlatform.is32bit [ # Raises a slightly different error than upstream expects: 'Timestamp is too large' instead of 'out of range' "test_from_timestamp_with_overflow_value" ];
pythonImportsCheck = [ "marshmallow" ];
meta = { description = "Library for converting complex objects to and from simple Python datatypes"; homepage = "https://github.com/marshmallow-code/marshmallow"; changelog = "https://github.com/marshmallow-code/marshmallow/blob/${version}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ cript0nauta ]; };}