Loading pkgs/development/python-modules/cashews/default.nix 0 → 100644 +70 −0 Original line number Diff line number Diff line { bitarray, buildPythonPackage, dill, diskcache, fetchFromGitHub, hiredis, hypothesis, lib, pytest, pytest-asyncio, pytest-cov, pytest-rerunfailures, pytestCheckHook, redis, setuptools, xxhash, }: buildPythonPackage rec { pname = "cashews"; version = "7.1.0"; pyproject = true; src = fetchFromGitHub { owner = "Krukov"; repo = "cashews"; rev = "refs/tags/${version}"; hash = "sha256-VzIW6/xhKk+ZWd29BYQp6sjpBst8IVz8t/hCLc2LFT4="; }; build-system = [ setuptools ]; passthru.optional-dependencies = { dill = [ dill ]; diskcache = [ diskcache ]; redis = [ redis ]; speedup = [ bitarray hiredis xxhash ]; }; nativeCheckInputs = [ hypothesis pytest pytest-asyncio pytest-cov pytest-rerunfailures pytestCheckHook ]; disabledTests = [ # these tests require too many dependencies "redis" "diskcache" "integration" ]; pythonImportsCheck = [ "cashews" ]; meta = { description = "Cache tools with async power"; homepage = "https://github.com/Krukov/cashews/"; changelog = "https://github.com/Krukov/cashews/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ moraxyc ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1945,6 +1945,8 @@ self: super: with self; { cashaddress = callPackage ../development/python-modules/cashaddress { }; cashews = callPackage ../development/python-modules/cashews { }; cassandra-driver = callPackage ../development/python-modules/cassandra-driver { }; castepxbin = callPackage ../development/python-modules/castepxbin { }; Loading Loading
pkgs/development/python-modules/cashews/default.nix 0 → 100644 +70 −0 Original line number Diff line number Diff line { bitarray, buildPythonPackage, dill, diskcache, fetchFromGitHub, hiredis, hypothesis, lib, pytest, pytest-asyncio, pytest-cov, pytest-rerunfailures, pytestCheckHook, redis, setuptools, xxhash, }: buildPythonPackage rec { pname = "cashews"; version = "7.1.0"; pyproject = true; src = fetchFromGitHub { owner = "Krukov"; repo = "cashews"; rev = "refs/tags/${version}"; hash = "sha256-VzIW6/xhKk+ZWd29BYQp6sjpBst8IVz8t/hCLc2LFT4="; }; build-system = [ setuptools ]; passthru.optional-dependencies = { dill = [ dill ]; diskcache = [ diskcache ]; redis = [ redis ]; speedup = [ bitarray hiredis xxhash ]; }; nativeCheckInputs = [ hypothesis pytest pytest-asyncio pytest-cov pytest-rerunfailures pytestCheckHook ]; disabledTests = [ # these tests require too many dependencies "redis" "diskcache" "integration" ]; pythonImportsCheck = [ "cashews" ]; meta = { description = "Cache tools with async power"; homepage = "https://github.com/Krukov/cashews/"; changelog = "https://github.com/Krukov/cashews/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ moraxyc ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1945,6 +1945,8 @@ self: super: with self; { cashaddress = callPackage ../development/python-modules/cashaddress { }; cashews = callPackage ../development/python-modules/cashews { }; cassandra-driver = callPackage ../development/python-modules/cassandra-driver { }; castepxbin = callPackage ../development/python-modules/castepxbin { }; Loading