2022-05-18 14:49:53 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, six
|
|
|
|
, mock
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-memcached";
|
|
|
|
version = "1.59";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linsomniac";
|
|
|
|
repo = "python-memcached";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-tHqkwNloPTXOrEGtuDLu1cTw4SKJ4auv8UUbqdNp698=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-05-18 14:49:53 +00:00
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
# all tests fail
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "memcache" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pure python memcached client";
|
|
|
|
homepage = "https://github.com/linsomniac/python-memcached";
|
|
|
|
license = licenses.psfl;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|