python311Packages.marshmallow: refactor

This commit is contained in:
Fabian Affolter 2024-01-17 12:57:35 +01:00
parent ca13da7173
commit 922b1b02c6

View File

@ -6,22 +6,27 @@
, pytz
, simplejson
, packaging
, setuptools
}:
buildPythonPackage rec {
pname = "marshmallow";
version = "3.20.2";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "marshmallow-code";
repo = pname;
repo = "marshmallow";
rev = "refs/tags/${version}";
hash = "sha256-z6Quf6uTelGwB/uYayVXtVmculwaoI5LL8I0kKiM/e8=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
packaging
];