Loading pkgs/tools/admin/iredis/default.nix +16 −14 Original line number Diff line number Diff line { 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 = [ Loading @@ -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 Loading @@ -37,7 +40,7 @@ buildPythonApplication rec { wcwidth ]; nativeCheckInputs = [ nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pexpect ]; Loading @@ -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 [ Loading @@ -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 Loading
pkgs/tools/admin/iredis/default.nix +16 −14 Original line number Diff line number Diff line { 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 = [ Loading @@ -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 Loading @@ -37,7 +40,7 @@ buildPythonApplication rec { wcwidth ]; nativeCheckInputs = [ nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pexpect ]; Loading @@ -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 [ Loading @@ -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