python3Packages.sqlite-migrate: modernize

This commit is contained in:
Lein Matsumaru
2026-07-14 05:13:00 +00:00
parent 4303643fbd
commit 9408bd6e7a
2 changed files with 6 additions and 5 deletions
@@ -10,7 +10,7 @@
writableTmpDirAsHomeHook,
}:
buildPythonPackage (finalATtrs: {
buildPythonPackage (finalAttrs: {
pname = "llm-tools-sqlite";
version = "0.1";
pyproject = true;
@@ -8,15 +8,16 @@
sqlite-utils,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "sqlite-migrate";
version = "0.2";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "sqlite-migrate";
tag = version;
tag = finalAttrs.version;
hash = "sha256-0fU3yOujqc4mZS4XcsM9xH2iK9fFX5MUsmuc/o+I+nY=";
};
@@ -34,8 +35,8 @@ buildPythonPackage rec {
meta = {
description = "Simple database migration system for SQLite, based on sqlite-utils";
homepage = "https://github.com/simonw/sqlite-migrate";
changelog = "https://github.com/simonw/sqlite-migrate/releases/tag/${version}";
changelog = "https://github.com/simonw/sqlite-migrate/releases/tag/${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ aldoborrero ];
};
}
})