Skip to content

Commit

Permalink
Simplekv: Add dependency groups for backends
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenne10 committed Mar 10, 2025
1 parent 62e00c1 commit d98c13a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkgs/development/python-modules/simplekv/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
azure-storage-blob,
boto3,
google-cloud-storage,
pymongo,
redis,
lib,
buildPythonPackage,
dulwich,
Expand Down Expand Up @@ -40,6 +45,20 @@ buildPythonPackage rec {
"test_concurrent_mkdir"
];

optional-dependencies = {
amazon = [ boto3 ];
azure = [ azure-storage-blob ];
google = [ google-cloud-storage ];
redis = [ redis ];
mongodb = [ pymongo ];
git = [ dulwich ];
/*
Additional potential dependencies not exposed here:
sqlalchemy: Our version is too new for simplekv
appengine-python-standard: Not packaged in nixpkgs
*/
};

meta = with lib; {
description = "Simple key-value store for binary data";
homepage = "https://github.com/mbr/simplekv";
Expand Down

0 comments on commit d98c13a

Please sign in to comment.