Unverified Commit 158adc86 authored by natsukium's avatar natsukium
Browse files

python311Packages.sqlite-anyio: init at 0.2.0

parent 3594a7b4
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  hatchling,
  anyio,
  pytestCheckHook,
  trio,
}:

buildPythonPackage rec {
  pname = "sqlite-anyio";
  version = "0.2.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "davidbrochart";
    repo = "sqlite-anyio";
    rev = "refs/tags/v${version}";
    hash = "sha256-6khHta7Rzp3g8G/xZnsNZuURFB35JyHz04NTzNJIiBw=";
  };

  build-system = [ hatchling ];

  dependencies = [ anyio ];

  pythonImportsCheck = [ "sqlite_anyio" ];

  nativeCheckInputs = [
    pytestCheckHook
    trio
  ];

  meta = with lib; {
    description = "Asynchronous client for SQLite using AnyIO";
    homepage = "https://github.com/davidbrochart/sqlite-anyio";
    license = licenses.mit;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -14411,6 +14411,8 @@ self: super: with self; {
  sqlglot = callPackage ../development/python-modules/sqlglot { };
  sqlite-anyio = callPackage ../development/python-modules/sqlite-anyio { };
  sqlitedict = callPackage ../development/python-modules/sqlitedict { };
  sqlite-migrate = callPackage ../development/python-modules/sqlite-migrate { };