nixpkgs/pkgs/development/python-modules/sqlcipher3/default.nix
2026-01-01 13:35:14 +00:00

42 lines
705 B
Nix

{
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 ];
};
}