mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
6b999f3c42
Did not test all packages. Likely we'll have some breakage.
23 lines
640 B
Nix
23 lines
640 B
Nix
{ buildPythonPackage, fetchurl, stdenv, libmemcached, zlib }:
|
|
buildPythonPackage rec {
|
|
version = "1.5.2";
|
|
pname = "pylibmc";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://pypi.python.org/packages/source/p/pylibmc/${name}.tar.gz";
|
|
sha256 = "fc54e28a9f1b5b2ec0c030da29c7ad8a15c2755bd98aaa4142eaf419d5fabb33";
|
|
};
|
|
|
|
buildInputs = [ libmemcached zlib ];
|
|
|
|
# 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;
|
|
};
|
|
}
|