depot/third_party/nixpkgs/pkgs/development/python-modules/python-memcached/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

41 lines
763 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "python-memcached";
version = "1.61";
pyproject = true;
src = fetchFromGitHub {
owner = "linsomniac";
repo = "python-memcached";
rev = version;
hash = "sha256-7bUCVAmOJ6znVmTZg9AJokOuym07NHL12gZgQ2uhfNo=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
mock
pytestCheckHook
];
# all tests fail
doCheck = false;
pythonImportsCheck = [ "memcache" ];
meta = with lib; {
description = "Pure python memcached client";
homepage = "https://github.com/linsomniac/python-memcached";
license = licenses.psfl;
maintainers = with maintainers; [ dotlambda ];
};
}