From 81606d750f6f6454480c6cc3dcf8d7cd28580cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 4 Aug 2026 18:00:07 -0700 Subject: [PATCH] python3Packages.yoyo-migrations: 8.2.0 -> 9.0.0 Changelog: https://hg.sr.ht/~olly/yoyo/browse/CHANGELOG.rst?rev=v9.0.0-release --- .../python-modules/yoyo-migrations/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/yoyo-migrations/default.nix b/pkgs/development/python-modules/yoyo-migrations/default.nix index 0c5c743144db..f071b8395218 100644 --- a/pkgs/development/python-modules/yoyo-migrations/default.nix +++ b/pkgs/development/python-modules/yoyo-migrations/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromSourcehut, importlib-metadata, setuptools, sqlparse, @@ -10,14 +10,17 @@ buildPythonPackage (finalAttrs: { pname = "yoyo-migrations"; - version = "8.2.0"; + version = "9.0.0"; pyproject = true; __structuredAttrs = true; - src = fetchPypi { - inherit (finalAttrs) pname version; - hash = "sha256-ggYGoD4mLPHNT1niVsKPpEZCUiTVuCo9EnX9eBeFI+Q="; + src = fetchFromSourcehut { + owner = "~olly"; + repo = "yoyo"; + vc = "hg"; + tag = "v${finalAttrs.version}-release"; + hash = "sha256-y3dI1NCx/qYW1121ylq5Kk+ha3Rb8a4ObMQCPwiwxC4="; }; build-system = [ setuptools ]; @@ -34,6 +37,7 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "yoyo" ]; meta = { + changelog = "https://hg.sr.ht/~olly/yoyo/browse/CHANGELOG.rst?rev=${finalAttrs.src.tag}"; description = "Database schema migration tool"; homepage = "https://ollycope.com/software/yoyo"; license = lib.licenses.asl20;