2024-11-02 23:19:38 +01:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
buildPythonPackage,
|
|
|
|
|
fetchPypi,
|
|
|
|
|
setuptools,
|
|
|
|
|
sqlcipher,
|
|
|
|
|
openssl,
|
|
|
|
|
}:
|
|
|
|
|
let
|
|
|
|
|
pname = "sqlcipher3";
|
|
|
|
|
version = "0.5.4";
|
|
|
|
|
in
|
|
|
|
|
buildPythonPackage {
|
|
|
|
|
inherit pname version;
|
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
|
|
|
|
hash = "sha256-4w/1jWTdQ+Gezt3RARahonrR2YiMxCRcdfK9qbA4Tnc=";
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-01 20:09:59 +01:00
|
|
|
build-system = [
|
2024-11-02 23:19:38 +01:00
|
|
|
setuptools
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
|
sqlcipher
|
|
|
|
|
openssl
|
|
|
|
|
];
|
|
|
|
|
|
2025-01-18 20:01:43 -05:00
|
|
|
pythonImportsCheck = [
|
2024-11-02 23:19:38 +01:00
|
|
|
"sqlcipher3"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
|
mainProgram = "sqlcipher3";
|
|
|
|
|
homepage = "https://github.com/coleifer/sqlcipher3";
|
|
|
|
|
description = "Python 3 bindings for SQLCipher";
|
|
|
|
|
license = licenses.zlib;
|
|
|
|
|
maintainers = with maintainers; [ phaer ];
|
|
|
|
|
};
|
|
|
|
|
}
|