Merge pull request #231546 from KAction/contrib/0/aiosql-new/out

This commit is contained in:
Sandro 2023-05-24 11:03:52 +02:00 committed by GitHub
commit c1d02f5d57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, sphinxHook
, sphinx-rtd-theme
}:
buildPythonPackage rec {
pname = "aiosql";
version = "8.0";
outputs = [ "out" "doc" ];
format = "pyproject";
src = fetchFromGitHub {
owner = "nackjicholson";
repo = "aiosql";
rev = "refs/tags/${version}";
hash = "sha256-cE89w1CbDqlkryRr3yAdSxAtWzV1+O+n41ihTwYWelE=";
};
sphinxRoot = "docs/source";
nativeBuildInputs = [
pytestCheckHook
sphinxHook
poetry-core
sphinx-rtd-theme
];
pythonImportsCheck = [ "aiosql" ];
meta = with lib; {
description = "Simple SQL in Python";
homepage = "https://nackjicholson.github.io/aiosql/";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ kaction ];
};
}

View File

@ -326,6 +326,8 @@ self: super: with self; {
aiosasl = callPackage ../development/python-modules/aiosasl { };
aiosql = callPackage ../development/python-modules/aiosql { };
aiosenseme = callPackage ../development/python-modules/aiosenseme { };
aiosenz = callPackage ../development/python-modules/aiosenz { };