Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / python-memcached / default.nix
blob180e70f1c1d325b9029b743b7d52e212e7123964
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , six
5 , mock
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "python-memcached";
11   version = "1.59";
13   src = fetchFromGitHub {
14     owner = "linsomniac";
15     repo = "python-memcached";
16     rev = version;
17     hash = "sha256-tHqkwNloPTXOrEGtuDLu1cTw4SKJ4auv8UUbqdNp698=";
18   };
20   propagatedBuildInputs = [
21     six
22   ];
24   nativeCheckInputs = [
25     mock
26     pytestCheckHook
27   ];
29   # all tests fail
30   doCheck = false;
32   pythonImportsCheck = [ "memcache" ];
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   };