Commit 81ee491a authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 8631b8b9
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  aiosqlite,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch2,
  flask,
  flit-core,
  lib,
@@ -12,24 +11,16 @@

buildPythonPackage rec {
  pname = "flask-sqlalchemy-lite";
  version = "0.1.0";
  version = "0.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pallets-eco";
    repo = "flask-sqlalchemy-lite";
    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 ];

  dependencies = [
@@ -47,7 +38,7 @@ buildPythonPackage rec {
  ];

  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";
    homepage = "https://github.com/pallets-eco/flask-sqlalchemy-lite";
    license = lib.licenses.mit;