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