python3Packages.sqlite-migrate: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user