Merge pull request #270892 from fabaff/regenmaschine-bump

python311Packages.regenmaschine: 2023.08.0 -> 2023.11.0
This commit is contained in:
Fabian Affolter 2023-11-29 21:22:01 +01:00 committed by GitHub
commit 364203de14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,6 @@
, aresponses
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, pytest-aiohttp
, pytest-asyncio
@ -15,32 +14,18 @@
buildPythonPackage rec {
pname = "regenmaschine";
version = "2023.08.0";
format = "pyproject";
version = "2023.11.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
repo = "regenmaschine";
rev = "refs/tags/${version}";
hash = "sha256-2czpPLTJOUxjzG0+aOyY01jfwlcRgoHiQdB6ybQ6gWg=";
hash = "sha256-FRfw3B2zHEspKf1LENrB3Ayu6/t3hyS8sjuwoBC5Lfk=";
};
patches = [
# This patch removes references to setuptools and wheel that are no longer
# necessary and changes poetry to poetry-core, so that we don't need to add
# unnecessary nativeBuildInputs.
#
# https://github.com/bachya/regenmaschine/pull/334
#
(fetchpatch {
name = "clean-up-build-dependencies.patch";
url = "https://github.com/bachya/regenmaschine/commit/ecc2f771e2ae2e0a8d46f5beab072df4e4727ba3.patch";
hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM=";
})
];
nativeBuildInputs = [
poetry-core
];