mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
python313Packages.simplekv: fix dependencies (#388796)
This commit is contained in:
commit
dd7c3cf387
2 changed files with 33 additions and 14 deletions
|
@ -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";
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue