nixpkgs/pkgs/development/python-modules/pylibmc/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

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;
};
}