1{ lib
2, buildPythonPackage
3, dulwich
4, fetchFromGitHub
5, mock
6, pytestCheckHook
7, pythonOlder
8, six
9}:
10
11buildPythonPackage rec {
12 pname = "simplekv";
13 version = "0.14.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchFromGitHub {
19 owner = "mbr";
20 repo = "simplekv";
21 rev = "refs/tags/${version}";
22 hash = "sha256-seUGDj2q84+AjDFM1pxMLlHbe9uBgEhmqA96UHjnCmo=";
23 };
24
25 nativeCheckInputs = [
26 dulwich
27 mock
28 pytestCheckHook
29 six
30 ];
31
32 pythonImportsCheck = [
33 "simplekv"
34 ];
35
36 disabledTests = [
37 # Issue with fixture
38 "test_concurrent_mkdir"
39 ];
40
41 meta = with lib; {
42 description = "A simple key-value store for binary data";
43 homepage = "https://github.com/mbr/simplekv";
44 changelog = "https://github.com/mbr/simplekv/releases/tag/${version}";
45 license = licenses.mit;
46 maintainers = with maintainers; [ fab ];
47 };
48}