python3Packages.marshmallow: 3.26.1 -> 4.1.0
https://github.com/marshmallow-code/marshmallow/blob/4.1.0/CHANGELOG.rst
This commit is contained in:
committed by
Robert Schütz
parent
85868aa93b
commit
28d7a0f7c9
@@ -3,27 +3,38 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
flit-core,
|
||||
packaging,
|
||||
|
||||
# dependencies
|
||||
backports-datetime-fromisoformat,
|
||||
typing-extensions,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
simplejson,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marshmallow";
|
||||
version = "3.26.1";
|
||||
version = "4.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marshmallow-code";
|
||||
repo = "marshmallow";
|
||||
tag = version;
|
||||
hash = "sha256-l5pEhv8D6jRlU24SlsGQEkXda/b7KUdP9mAqrZCbl38=";
|
||||
hash = "sha256-h1wkeJbJY/0K3Vpxz+Bc2/2PDWgOMqropG0XMBzAOq8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
propagatedBuildInputs = [ packaging ];
|
||||
dependencies = lib.optionals (pythonOlder "3.11") [
|
||||
backports-datetime-fromisoformat
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
||||
Reference in New Issue
Block a user