about summary refs log tree commit diff
path: root/pkgs/development/python-modules/lmdb
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-12-09 10:38:00 +0100
committerGitHub <noreply@github.com>2022-12-09 10:38:00 +0100
commit2a09f524b7747a18f88f6ceb6f0f503aa4fc8cdc (patch)
treef66acd2ef67dad606823e862039c014fb6b433a5 /pkgs/development/python-modules/lmdb
parent75c231afd6b309527ccc9d57ae3e662b74e4570a (diff)
python310Packages.lmdb: add changelog to meta
Diffstat (limited to 'pkgs/development/python-modules/lmdb')
-rw-r--r--pkgs/development/python-modules/lmdb/default.nix16
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/lmdb/default.nix b/pkgs/development/python-modules/lmdb/default.nix
index df994a0db751d..79bbee917e667 100644
--- a/pkgs/development/python-modules/lmdb/default.nix
+++ b/pkgs/development/python-modules/lmdb/default.nix
@@ -4,26 +4,36 @@
 , pytestCheckHook
 , cffi
 , lmdb
+, pythonOlder
 }:
 
 buildPythonPackage rec {
   pname = "lmdb";
   version = "1.4.0";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "sha256-OfbE7hRdKNFwJdNQcgq7b5XbgWUU6GjbV0RP3vUcu0c=";
+    hash = "sha256-OfbE7hRdKNFwJdNQcgq7b5XbgWUU6GjbV0RP3vUcu0c=";
   };
 
-  buildInputs = [ lmdb ];
+  buildInputs = [
+    lmdb
+  ];
 
-  checkInputs = [ cffi pytestCheckHook ];
+  checkInputs = [
+    cffi
+    pytestCheckHook
+  ];
 
   LMDB_FORCE_SYSTEM=1;
 
   meta = with lib; {
     description = "Universal Python binding for the LMDB 'Lightning' Database";
     homepage = "https://github.com/dw/py-lmdb";
+    changelog = "https://github.com/jnwatson/py-lmdb/blob/py-lmdb_${version}/ChangeLog",
     license = licenses.openldap;
     maintainers = with maintainers; [ copumpkin ivan ];
   };