mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-24 22:20:17 +02:00
python3Packages.pymemcache: init at 3.4.0
This commit is contained in:
parent
905ecb920e
commit
011f0b7897
43
pkgs/development/python-modules/pymemcache/default.nix
Normal file
43
pkgs/development/python-modules/pymemcache/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, future
|
||||||
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pymemcache";
|
||||||
|
version = "3.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pinterest";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0xkw76y4059jg2a902wlpk6psyh2g4x6j6vlj9gzd5vqb7ihg2y7";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
future
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i "/--cov/d" setup.cfg
|
||||||
|
'';
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# python-memcached is not available (last release in 2017)
|
||||||
|
"TestClientSocketConnect"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pymemcache" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python memcached client";
|
||||||
|
homepage = "https://pymemcache.readthedocs.io/";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5956,6 +5956,8 @@ in {
|
||||||
|
|
||||||
pymeeus = callPackage ../development/python-modules/pymeeus { };
|
pymeeus = callPackage ../development/python-modules/pymeeus { };
|
||||||
|
|
||||||
|
pymemcache = callPackage ../development/python-modules/pymemcache { };
|
||||||
|
|
||||||
pymemoize = callPackage ../development/python-modules/pymemoize { };
|
pymemoize = callPackage ../development/python-modules/pymemoize { };
|
||||||
|
|
||||||
pyment = callPackage ../development/python-modules/pyment { };
|
pyment = callPackage ../development/python-modules/pyment { };
|
||||||
|
|
Loading…
Reference in a new issue