mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 11:15:12 +00:00
e5e6a178b7
Diff: https://github.com/marshmallow-code/marshmallow/compare/refs/tags/3.20.0...3.21.1 Changelog: https://github.com/marshmallow-code/marshmallow/blob/3.21.1/CHANGELOG.rst
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, flit-core
|
|
, packaging
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pytz
|
|
, simplejson
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marshmallow";
|
|
version = "3.21.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marshmallow-code";
|
|
repo = "marshmallow";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-KhXasYKooZRokRoFlWKOaQzSUe6tXDtUlrf65eGGUi8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
flit-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
packaging
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytz
|
|
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 ];
|
|
};
|
|
}
|