python312Packages.apischema: 0.18.1 -> 0.18.3 (#345761)
This commit is contained in:
@@ -6,12 +6,13 @@
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apischema";
|
||||
version = "0.18.1";
|
||||
format = "setuptools";
|
||||
version = "0.18.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -19,9 +20,17 @@ buildPythonPackage rec {
|
||||
owner = "wyfo";
|
||||
repo = "apischema";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-omw6znk09r2SigPfaVrtA6dd8KeSfjaPgGfK12ty23g=";
|
||||
hash = "sha256-YFJbNxCwDrJb603Bf8PDrvhVt4T53PNWOYs716c0f1I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools==75.1.0" "setuptools" \
|
||||
--replace-fail "wheel~=0.44.0" "wheel"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
optional-dependencies = {
|
||||
graphql = [ graphql-core ];
|
||||
};
|
||||
@@ -36,6 +45,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "JSON (de)serialization, GraphQL and JSON schema generation using typing";
|
||||
homepage = "https://github.com/wyfo/apischema";
|
||||
changelog = "https://github.com/wyfo/apischema/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user