depot/third_party/nixpkgs/pkgs/development/python-modules/pylibmc/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 lines
605 B
Nix

{ buildPythonPackage, fetchPypi, lib, libmemcached, zlib, cyrus_sasl }:
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;
meta = with lib; {
description = "Quick and small memcached client for Python";
homepage = "http://sendapatch.se/projects/pylibmc/";
license = licenses.bsd3;
};
}