1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, six
5, mock
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "python-memcached";
11 version = "1.59";
12
13 src = fetchFromGitHub {
14 owner = "linsomniac";
15 repo = "python-memcached";
16 rev = version;
17 hash = "sha256-tHqkwNloPTXOrEGtuDLu1cTw4SKJ4auv8UUbqdNp698=";
18 };
19
20 propagatedBuildInputs = [
21 six
22 ];
23
24 checkInputs = [
25 mock
26 pytestCheckHook
27 ];
28
29 # all tests fail
30 doCheck = false;
31
32 pythonImportsCheck = [ "memcache" ];
33
34 meta = with lib; {
35 description = "Pure python memcached client";
36 homepage = "https://github.com/linsomniac/python-memcached";
37 license = licenses.psfl;
38 maintainers = with maintainers; [ dotlambda ];
39 };
40}