mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-09 21:07:04 +01:00
42 lines
705 B
Nix
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 ];
|
|
};
|
|
}
|