{ lib, buildPythonPackage, fetchPypi, setuptools, sqlcipher, openssl, }: let pname = "sqlcipher3"; version = "0.6.0"; in buildPythonPackage { inherit pname version; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-o1GuYwvWFMLBDtiYtCD3vIF+Q4FT9oP4g0jERdazqbE="; }; build-system = [ setuptools ]; buildInputs = [ sqlcipher openssl ]; pythonImportsCheck = [ "sqlcipher3" ]; meta = { mainProgram = "sqlcipher3"; homepage = "https://github.com/coleifer/sqlcipher3"; description = "Python 3 bindings for SQLCipher"; license = lib.licenses.zlib; maintainers = with lib.maintainers; [ phaer ]; }; }