Unverified Commit dd7c3cf3 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

python313Packages.simplekv: fix dependencies (#388796)

parents 75ab7d5c 15e3bd7a
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -2896,17 +2896,11 @@
    name = "Brandon Elam Barker";
  };
  bbenne10 = {
    email = "Bryan.Bennett@protonmail.com";
    email = "Bryan.Bennett+nixpkgs@proton.me";
    matrix = "@bryan.bennett:matrix.org";
    github = "bbenne10";
    githubId = 687376;
    name = "Bryan Bennett";
    keys = [
      {
        # compare with https://keybase.io/bbenne10
        fingerprint = "41EA 00B4 00F9 6970 1CB2  D3AF EF90 E3E9 8B8F 5C0B";
      }
    ];
  };
  bbenno = {
    email = "nix@bbenno.com";
+32 −7
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  dulwich,
  fetchFromGitHub,
  mock,
  pytestCheckHook,
  pythonOlder,
  setuptools,

  # optional dependencies
  azure-storage-blob,
  boto3,
  dulwich,
  google-cloud-storage,
  pymongo,
  redis,

  # testing
  mock,
  pytestCheckHook,
  six,
}:

@@ -26,12 +35,11 @@ buildPythonPackage rec {

  build-system = [ setuptools ];

  dependencies = [
    dulwich
  nativeCheckInputs = [
    mock
    pytestCheckHook
    six
  ];
  ] ++ optional-dependencies.git;

  pythonImportsCheck = [ "simplekv" ];

@@ -40,11 +48,28 @@ 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";
    changelog = "https://github.com/mbr/simplekv/releases/tag/${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    maintainers = with maintainers; [
      fab
      bbenne10
    ];
  };
}