mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00

This adds python bindings for sqlcipher from https://github.com/coleifer/sqlcipher3. It also adds two meta packages, sqlcipher3-binary and sqlcipher3-wheels. The former is a binary-distribution of sqlcipher3 from upstream. The latter is a fork that builds its own wheels but ships no further source changes. So we effectively make both wheel packages an alias for our own source-built package. Similar to how e.g. psycopg2-binary works in nixpkgs.
13 lines
305 B
Nix
13 lines
305 B
Nix
{
|
|
mkPythonMetaPackage,
|
|
sqlcipher3,
|
|
}:
|
|
mkPythonMetaPackage {
|
|
pname = "sqlcipher3-binary";
|
|
inherit (sqlcipher3) version;
|
|
dependencies = [ sqlcipher3 ];
|
|
optional-dependencies = sqlcipher3.optional-dependencies or { };
|
|
meta = {
|
|
inherit (sqlcipher3.meta) description homepage license;
|
|
};
|
|
}
|