mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +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";
|
name = "Brandon Elam Barker";
|
||||||
};
|
};
|
||||||
bbenne10 = {
|
bbenne10 = {
|
||||||
email = "Bryan.Bennett@protonmail.com";
|
email = "Bryan.Bennett+nixpkgs@proton.me";
|
||||||
matrix = "@bryan.bennett:matrix.org";
|
matrix = "@bryan.bennett:matrix.org";
|
||||||
github = "bbenne10";
|
github = "bbenne10";
|
||||||
githubId = 687376;
|
githubId = 687376;
|
||||||
name = "Bryan Bennett";
|
name = "Bryan Bennett";
|
||||||
keys = [
|
|
||||||
{
|
|
||||||
# compare with https://keybase.io/bbenne10
|
|
||||||
fingerprint = "41EA 00B4 00F9 6970 1CB2 D3AF EF90 E3E9 8B8F 5C0B";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
bbenno = {
|
bbenno = {
|
||||||
email = "nix@bbenno.com";
|
email = "nix@bbenno.com";
|
||||||
|
|
|
@ -1,12 +1,21 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
dulwich,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
mock,
|
|
||||||
pytestCheckHook,
|
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
setuptools,
|
setuptools,
|
||||||
|
|
||||||
|
# optional dependencies
|
||||||
|
azure-storage-blob,
|
||||||
|
boto3,
|
||||||
|
dulwich,
|
||||||
|
google-cloud-storage,
|
||||||
|
pymongo,
|
||||||
|
redis,
|
||||||
|
|
||||||
|
# testing
|
||||||
|
mock,
|
||||||
|
pytestCheckHook,
|
||||||
six,
|
six,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -26,12 +35,11 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
dependencies = [
|
nativeCheckInputs = [
|
||||||
dulwich
|
|
||||||
mock
|
mock
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
six
|
six
|
||||||
];
|
] ++ optional-dependencies.git;
|
||||||
|
|
||||||
pythonImportsCheck = [ "simplekv" ];
|
pythonImportsCheck = [ "simplekv" ];
|
||||||
|
|
||||||
|
@ -40,11 +48,28 @@ buildPythonPackage rec {
|
||||||
"test_concurrent_mkdir"
|
"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; {
|
meta = with lib; {
|
||||||
description = "Simple key-value store for binary data";
|
description = "Simple key-value store for binary data";
|
||||||
homepage = "https://github.com/mbr/simplekv";
|
homepage = "https://github.com/mbr/simplekv";
|
||||||
changelog = "https://github.com/mbr/simplekv/releases/tag/${version}";
|
changelog = "https://github.com/mbr/simplekv/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [
|
||||||
|
fab
|
||||||
|
bbenne10
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue