blob: ab7a0f063bb670ec4b007576a86afb71e901a0ca (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
sqlcipher,
openssl,
}:
let
pname = "sqlcipher3";
version = "0.6.0";
in
buildPythonPackage {
inherit pname version;
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-o1GuYwvWFMLBDtiYtCD3vIF+Q4FT9oP4g0jERdazqbE=";
};
build-system = [
setuptools
];
buildInputs = [
sqlcipher
openssl
];
pythonImportsCheck = [
"sqlcipher3"
];
meta = {
mainProgram = "sqlcipher3";
homepage = "https://github.com/coleifer/sqlcipher3";
description = "Python 3 bindings for SQLCipher";
license = lib.licenses.zlib;
maintainers = with lib.maintainers; [ phaer ];
};
}
|