depot/third_party/nixpkgs/pkgs/development/python-modules/simplekv/default.nix

49 lines
898 B
Nix
Raw Normal View History

{ 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 ];
};
}