2021-01-05 17:05:55 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonAtLeast, sqlcipher }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pysqlcipher3";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.0.4";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
disabled = pythonAtLeast "3.9";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "75d6b9d023d7ab76c841f97fd9d108d87516e281268e61518411d08cb7062663";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlcipher ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pysqlcipher3" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python 3 bindings for SQLCipher";
|
|
|
|
homepage = "https://github.com/rigglemania/pysqlcipher3/";
|
|
|
|
license = licenses.zlib;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|