python3Packages.marshmallow-polyfield: 5.9 -> 5.10
This commit is contained in:
parent
ea8ff5a129
commit
a98087d710
@ -1,32 +1,43 @@
|
||||
{ buildPythonPackage
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, marshmallow
|
||||
# Check Inputs
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marshmallow-polyfield";
|
||||
version = "5.9";
|
||||
version = "5.10";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bachmann1234";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "15yx8ib5yx1xx6kq8wnfdmv9zm43k7y33c6zpq5rba6a30v4lcnd";
|
||||
sha256 = "sha256-oF5LBuDK4kqsAcKwidju+wFjigjy4CNbJ6bfWpGO1yQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
marshmallow
|
||||
];
|
||||
|
||||
# setuptools check can run, but won't find tests
|
||||
checkInputs = [ pytestCheckHook pytest-cov ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=marshmallow_polyfield" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"marshmallow"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An unofficial extension to Marshmallow to allow for polymorphic fields";
|
||||
description = "Extension to Marshmallow to allow for polymorphic fields";
|
||||
homepage = "https://github.com/Bachmann1234/marshmallow-polyfield";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
|
Loading…
Reference in New Issue
Block a user