Files
nixpkgs/pkgs/development/python-modules/sqlcipher3/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
705 B
Nix

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