blob: 49a11e1a7b64acc7e07eabccdb91f0d27c6918d3 (
plain)
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
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
dataproperty,
mbstrdecoder,
pathvalidate,
sqliteschema,
setuptools,
tabledata,
typepy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "SimpleSQLite";
version = "1.5.4";
pyproject = true;
src = fetchFromGitHub {
owner = "thombashi";
repo = "SimpleSQLite";
tag = "v${version}";
hash = "sha256-PObyZmmECxp6keRymYFGi4Uf07yNHu6rUIqSrRx2bPE=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
dataproperty
mbstrdecoder
pathvalidate
sqliteschema
tabledata
typepy
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "simplesqlite" ];
meta = {
description = "Python library to simplify SQLite database operations";
homepage = "https://github.com/thombashi/simplesqlite";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ henrirosten ];
};
}
|