nixpkgs/pkgs/development/python-modules/sqlcipher3-binary/default.nix
phaer fe6dd4bf7c python3Packages.sqlcipher3: init at 0.5.4
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.
2024-11-29 14:15:34 +01:00

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