2018-06-09 23:31:00 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, stdenv, libmemcached, zlib, cyrus_sasl }:
|
|
|
|
|
2017-03-18 22:09:07 +00:00
|
|
|
buildPythonPackage rec {
|
2019-01-02 18:18:32 +00:00
|
|
|
version = "1.6.0";
|
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-01-02 18:18:32 +00:00
|
|
|
sha256 = "1n6nvvhl0g52gpzzwdj1my6049xljkfwyxxygnwda9smrbj7pyay";
|
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;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Quick and small memcached client for Python";
|
|
|
|
homepage = http://sendapatch.se/projects/pylibmc/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|