Merge pull request #237203 from fabaff/simplekv

python311Packages.simplekv: init at 0.14.1
This commit is contained in:
Fabian Affolter 2023-06-14 09:03:11 +02:00 committed by GitHub
commit cb23fd5613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, dulwich
, fetchFromGitHub
, mock
, pytestCheckHook
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "simplekv";
version = "0.14.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mbr";
repo = "simplekv";
rev = "refs/tags/${version}";
hash = "sha256-seUGDj2q84+AjDFM1pxMLlHbe9uBgEhmqA96UHjnCmo=";
};
nativeCheckInputs = [
dulwich
mock
pytestCheckHook
six
];
pythonImportsCheck = [
"simplekv"
];
disabledTests = [
# Issue with fixture
"test_concurrent_mkdir"
];
meta = with lib; {
description = "A 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 ];
};
}

View file

@ -11201,6 +11201,8 @@ self: super: with self; {
simplekml = callPackage ../development/python-modules/simplekml { };
simplekv = callPackage ../development/python-modules/simplekv { };
simplenote = callPackage ../development/python-modules/simplenote { };
simplesat = callPackage ../development/python-modules/simplesat { };