mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
959842a9c7
so that we can use the update script.
23 lines
628 B
Nix
23 lines
628 B
Nix
{ buildPythonPackage, fetchurl, stdenv, libmemcached, zlib }:
|
|
buildPythonPackage rec {
|
|
version = "1.5.1";
|
|
pname = "pylibmc";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://pypi.python.org/packages/source/p/pylibmc/${name}.tar.gz";
|
|
sha256 = "1mnd8lng9wmcihl7mxd940hy1dzzvzsb971qclrvmqf3b4c2dfpc";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|