Files
nixpkgs/pkgs/development/python-modules/marshmallow/default.nix
T
Sandro Jäckel dac41491e8 python313Packages.marshmallow: 3.21.1 -> 3.26.1
netapp-ontap requires at least 3.21.3
2025-02-10 18:14:34 +01:00

42 lines
937 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
packaging,
pytestCheckHook,
simplejson,
}:
buildPythonPackage rec {
pname = "marshmallow";
version = "3.26.1";
pyproject = true;
src = fetchFromGitHub {
owner = "marshmallow-code";
repo = "marshmallow";
tag = version;
hash = "sha256-l5pEhv8D6jRlU24SlsGQEkXda/b7KUdP9mAqrZCbl38=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ packaging ];
nativeCheckInputs = [
pytestCheckHook
simplejson
];
pythonImportsCheck = [ "marshmallow" ];
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ cript0nauta ];
};
}