dac41491e8
netapp-ontap requires at least 3.21.3
42 lines
937 B
Nix
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 ];
|
|
};
|
|
}
|