1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 sqlcipher,
6}:
7
8buildPythonPackage rec {
9 pname = "pysqlcipher3";
10 version = "1.2.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-PIAzgSZVlH6/KagJrFEGsrxpvgJ06szva1j0WAyNBsU=";
16 };
17
18 buildInputs = [ sqlcipher ];
19
20 pythonImportsCheck = [ "pysqlcipher3" ];
21
22 meta = with lib; {
23 description = "Python 3 bindings for SQLCipher";
24 homepage = "https://github.com/rigglemania/pysqlcipher3/";
25 license = licenses.zlib;
26 maintainers = [ ];
27 };
28}