2021-01-25 08:26:54 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, libmemcached, zlib, cyrus_sasl }:
|
2018-06-09 23:31:00 +01:00
|
|
|
|
2017-03-18 22:09:07 +00:00
|
|
|
buildPythonPackage rec {
|
2019-10-08 11:51:34 +01:00
|
|
|
version = "1.6.1";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "pylibmc";
|
2017-03-18 22:09:07 +00:00
|
|
|
|
2017-05-29 02:02:40 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-08 11:51:34 +01:00
|
|
|
sha256 = "1sg7d9j0v6g3xg3finf4l1hb72c13vcyyi6rqrc9shbx903d93ca";
|
2017-03-18 22:09:07 +00:00
|
|
|
};
|
|
|
|
|
2018-06-09 23:31:00 +01:00
|
|
|
buildInputs = [ libmemcached zlib cyrus_sasl ];
|
|
|
|
setupPyBuildFlags = [ "--with-sasl2" ];
|
2017-03-18 22:09:07 +00:00
|
|
|
|
|
|
|
# requires an external memcached server running
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-03-18 22:09:07 +00:00
|
|
|
description = "Quick and small memcached client for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://sendapatch.se/projects/pylibmc/";
|
2017-03-18 22:09:07 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|