blob: 88a1c7aa37ca5cbdf8f81eff7b6080545b5548a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 ];
};
}
|