Skip to content

Commit

Permalink
pylibmc: init at 1.5.1; patch by @risicle
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c committed Mar 18, 2017
1 parent 084f726 commit 16fff5e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pkgs/development/python-modules/pylibmc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ buildPythonPackage, fetchurl, stdenv, libmemcached, zlib }:
buildPythonPackage rec {
name = "pylibmc-${version}";
version = "1.5.1";

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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19021,6 +19021,8 @@ in {
};
};

pylibmc = callPackage ../development/python-modules/pylibmc {};

pymetar = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pymetar";
Expand Down

0 comments on commit 16fff5e

Please sign in to comment.