1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 cryptography,
7 onetimepad,
8}:
9
10buildPythonPackage rec {
11 pname = "pysqlitecipher";
12 version = "0.22";
13
14 disabled = pythonOlder "3.6";
15
16 format = "setuptools";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "daff63ca2719fbd698aa10f64493c4b31fb67877a8e8dbb8090e9c03a1b1a9e4";
21 };
22
23 propagatedBuildInputs = [
24 cryptography
25 onetimepad
26 ];
27
28 # upstream has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "pysqlitecipher" ];
32
33 meta = {
34 description = "Lightweight and easy to use sqlite wrapper with built-in encryption system";
35 homepage = "https://github.com/harshnative/pysqlitecipher";
36 license = lib.licenses.gpl3Only;
37 maintainers = with lib.maintainers; [ dotlambda ];
38 };
39}