iredis: 1.13.1 -> 1.13.2
Changelog: https://github.com/laixintao/iredis/raw/v1.13.2/CHANGELOG.md
This commit is contained in:
parent
7338ab600f
commit
7e70581f8b
|
@ -1,15 +1,19 @@
|
|||
{ lib, python3Packages, fetchPypi }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "iredis";
|
||||
version = "1.13.1";
|
||||
version = "1.13.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-MWzbmuxUKh0yBgar1gk8QGJQwbHtINsbCsbTM+RLmQo=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "laixintao";
|
||||
repo = "iredis";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-dGOB7emhuP+V0pHlSdS1L1OC4jO3jtf5RFOy0UFYiuY=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -19,16 +23,15 @@ buildPythonApplication rec {
|
|||
"packaging"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pygments
|
||||
click
|
||||
configobj
|
||||
importlib-resources
|
||||
mistune
|
||||
packaging
|
||||
pendulum
|
||||
|
@ -37,7 +40,7 @@ buildPythonApplication rec {
|
|||
wcwidth
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
pexpect
|
||||
];
|
||||
|
@ -47,7 +50,6 @@ buildPythonApplication rec {
|
|||
"--ignore=tests/unittests/test_client.py"
|
||||
"--deselect=tests/unittests/test_render_functions.py::test_render_unixtime_config_raw"
|
||||
"--deselect=tests/unittests/test_render_functions.py::test_render_time"
|
||||
"--deselect=tests/unittests/test_entry.py::test_command_shell_options_higher_priority"
|
||||
# Only execute unittests, because cli tests require a running Redis
|
||||
"tests/unittests/"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
|
@ -59,7 +61,7 @@ buildPythonApplication rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "A Terminal Client for Redis with AutoCompletion and Syntax Highlighting";
|
||||
changelog = "https://github.com/laixintao/iredis/raw/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/laixintao/iredis/raw/${src.rev}/CHANGELOG.md";
|
||||
homepage = "https://iredis.io/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
|
|
Loading…
Reference in a new issue