python312Packages.pony: 0.7.17 -> 0.7.18 (#337572)

This commit is contained in:
Robert Schütz 2024-08-28 08:11:47 -07:00 committed by GitHub
commit a1dc13fb23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,35 +3,26 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
setuptools,
fetchpatch,
}:
buildPythonPackage rec {
pname = "pony";
version = "0.7.17";
version = "0.7.18";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.8" || pythonAtLeast "3.13";
src = fetchFromGitHub {
owner = "ponyorm";
repo = "pony";
rev = "refs/tags/v${version}";
hash = "sha256-wBqw+YHKlxYplgsYL1pbkusHyPfCaVPcH/Yku6WDYbE=";
hash = "sha256-2qGkHPBbfFrjJatKVa44bDbn/i3/YH/8LWd8CXyFRqo=";
};
patches = [
# https://github.com/ponyorm/pony/pull/713
(fetchpatch {
name = "py312-compat.patch";
url = "https://github.com/ponyorm/pony/commit/5a37f6d59b6433d17d6d56b54f3726190e98c98f.patch";
hash = "sha256-niOoANOYHqrcmEXRZEDew2BM8P/s7UFnn0qpgB8V0Mk=";
})
];
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];