1{ lib, buildPythonPackage, fetchPypi, pythonAtLeast, sqlcipher }:
2
3buildPythonPackage rec {
4 pname = "pysqlcipher3";
5 version = "1.1.0";
6
7 disabled = pythonAtLeast "3.9";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "sha256-Lo75+2y2jZJrQZj9xrJvVRGWmOo8fI5iXzEURn00Y3E=";
12 };
13
14 buildInputs = [ sqlcipher ];
15
16 pythonImportsCheck = [ "pysqlcipher3" ];
17
18 meta = with lib; {
19 description = "Python 3 bindings for SQLCipher";
20 homepage = "https://github.com/rigglemania/pysqlcipher3/";
21 license = licenses.zlib;
22 maintainers = with maintainers; [ SuperSandro2000 ];
23 };
24}