Robert Schütz
2025-11-15 17:48:00 -08:00
parent 8631b8b90d
commit 81ee491a48

View File

@@ -2,7 +2,6 @@
aiosqlite, aiosqlite,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
fetchpatch2,
flask, flask,
flit-core, flit-core,
lib, lib,
@@ -12,24 +11,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "flask-sqlalchemy-lite"; pname = "flask-sqlalchemy-lite";
version = "0.1.0"; version = "0.2.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pallets-eco"; owner = "pallets-eco";
repo = "flask-sqlalchemy-lite"; repo = "flask-sqlalchemy-lite";
tag = version; tag = version;
hash = "sha256-LpdPp5Gp74DSJqD1DJqwNeaMKdN5pEAUkxnKGYZcVis="; hash = "sha256-c7lTxihlW48bj9+pU2uq2V/dQrZCi5kq2gWdFhipQGE=";
}; };
patches = [
# fix python3.13 compat
(fetchpatch2 {
url = "https://github.com/pallets-eco/flask-sqlalchemy-lite/commit/b4117beaa6caa0a5945d6e3451db8b80dc4cc8cf.patch?full_index=1";
hash = "sha256-zCeUWB3iuKqco030pULaRpRsIOpSRz9+VYxI/RQhIyw=";
})
];
build-system = [ flit-core ]; build-system = [ flit-core ];
dependencies = [ dependencies = [
@@ -47,7 +38,7 @@ buildPythonPackage rec {
]; ];
meta = { meta = {
changelog = "https://github.com/pallets-eco/flask-sqlalchemy-lite/blob/${src.rev}/CHANGES.md"; changelog = "https://github.com/pallets-eco/flask-sqlalchemy-lite/blob/${src.tag}/CHANGES.md";
description = "Integrate SQLAlchemy with Flask"; description = "Integrate SQLAlchemy with Flask";
homepage = "https://github.com/pallets-eco/flask-sqlalchemy-lite"; homepage = "https://github.com/pallets-eco/flask-sqlalchemy-lite";
license = lib.licenses.mit; license = lib.licenses.mit;