1{ lib, buildPythonPackage, fetchPypi, pythonAtLeast, sqlcipher }:
2
3buildPythonPackage rec {
4 pname = "pysqlcipher3";
5 version = "1.0.4";
6
7 disabled = pythonAtLeast "3.9";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "75d6b9d023d7ab76c841f97fd9d108d87516e281268e61518411d08cb7062663";
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}