mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
9cde80c595
Diff: https://github.com/marshmallow-code/marshmallow/compare/refs/tags/3.19.0...3.20.1 Changelog: https://github.com/marshmallow-code/marshmallow/blob/3.20.1/CHANGELOG.rst
47 lines
965 B
Nix
47 lines
965 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pytz
|
|
, simplejson
|
|
, packaging
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marshmallow";
|
|
version = "3.20.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marshmallow-code";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-sPYiup7ontnubtBxv+rIT0up4IHPJNCUlH9J4FlHsss=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|