9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
48 lines
898 B
Nix
48 lines
898 B
Nix
{ 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 ];
|
|
};
|
|
}
|