mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 15:37:47 +03:00
python312Packages.pony: 0.7.17 -> 0.7.18
Diff: https://github.com/ponyorm/pony/compare/refs/tags/v0.7.17...v0.7.18 Changelog: https://github.com/ponyorm/pony/releases/tag/v0.7.18
This commit is contained in:
parent
9daa847339
commit
761eb4c4f1
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user