pythonPackages.umemcache: move expression out of python-packages.nix

This commit is contained in:
Jörg Thalheim
2017-08-12 11:17:35 +01:00
parent 0a1eb8246a
commit c0fc1670f5
2 changed files with 21 additions and 18 deletions

View File

@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, isPy3k, fetchurl }:
buildPythonPackage rec {
name = "umemcache-${version}";
version = "1.6.3";
disabled = isPy3k;
src = fetchurl {
url = "mirror://pypi/u/umemcache/${name}.zip";
sha256 = "211031a03576b7796bf277dbc9c9e3e754ba066bbb7fb601ab5c6291b8ec1918";
};
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "Ultra fast memcache client written in highly optimized C++ with Python bindings";
homepage = https://github.com/esnme/ultramemcache;
license = licenses.bsdOriginal;
};
}