about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authoradisbladis2024-08-27 15:53:19 +1200
committeradisbladis2024-08-30 11:05:29 +1200
commitd3e7844bbc92f9ca715431397586d30dd2201293 (patch)
treef215bb9395773cc45d4d6dccb93f337aa1352d88 /doc
parent8cd58c7e149bc85af98d1697426a2ac5019ece29 (diff)
python3Packages.psycopg2-binary: init at 2.9.9
Pscycopg2-binary is normally used in Python development to avoid having to build psycopg2 from source.
In nixpkgs we always want ot build from source whenever possible, but it can still be useful to provide a psycopg2-binary package.

This "fake" package exists to satisfy a dependency on psycopg2-binary, but still use the build from psycopg2.

cc @misuzu https://github.com/nix-community/pyproject.nix/issues/143
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/python.section.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index ce83102acd84..833ff45c746e 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -369,8 +369,11 @@ In nixpkgs this is used to package Python packages with split binary/source dist
 ```nix
 mkPythonMetaPackage {
   pname = "pscycopg2-binary";
-  inherit (psycopg2) optional-dependencies version meta;
+  inherit (psycopg2) optional-dependencies version;
   dependencies = [ psycopg2 ];
+  meta = {
+    inherit (psycopg2.meta) description homepage;
+  };
 }
 ```