2018-06-10 00:31:00 +02:00
|
|
|
{ buildPythonPackage, fetchPypi, stdenv, libmemcached, zlib, cyrus_sasl }:
|
|
|
|
|
2017-03-18 23:09:07 +01:00
|
|
|
buildPythonPackage rec {
|
2019-01-02 19:18:32 +01:00
|
|
|
version = "1.6.0";
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "pylibmc";
|
2017-03-18 23:09:07 +01:00
|
|
|
|
2017-05-29 03:02:40 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-02 19:18:32 +01:00
|
|
|
sha256 = "1n6nvvhl0g52gpzzwdj1my6049xljkfwyxxygnwda9smrbj7pyay";
|
2017-03-18 23:09:07 +01:00
|
|
|
};
|
|
|
|
|
2018-06-10 00:31:00 +02:00
|
|
|
buildInputs = [ libmemcached zlib cyrus_sasl ];
|
|
|
|
setupPyBuildFlags = [ "--with-sasl2" ];
|
2017-03-18 23:09:07 +01: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;
|
|
|
|
};
|
|
|
|
}
|