2021-02-05 17:12:51 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, libmemcached, zlib, cyrus_sasl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "1.6.1";
|
|
|
|
pname = "pylibmc";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1sg7d9j0v6g3xg3finf4l1hb72c13vcyyi6rqrc9shbx903d93ca";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libmemcached zlib cyrus_sasl ];
|
|
|
|
setupPyBuildFlags = [ "--with-sasl2" ];
|
|
|
|
|
|
|
|
# requires an external memcached server running
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Quick and small memcached client for Python";
|
|
|
|
homepage = "http://sendapatch.se/projects/pylibmc/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|