From bd713ce01bf20e5e25aa644e18a90e8c3613d860 Mon Sep 17 00:00:00 2001 From: pcboy Date: Thu, 23 Jan 2025 20:02:35 +0900 Subject: [PATCH] harlequin: 1.25.2-unstable-2024-12-30 -> 2.0.0 --- pkgs/by-name/ha/harlequin/package.nix | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/ha/harlequin/package.nix b/pkgs/by-name/ha/harlequin/package.nix index 5d1f79fd4144..c4bbad05fdcf 100644 --- a/pkgs/by-name/ha/harlequin/package.nix +++ b/pkgs/by-name/ha/harlequin/package.nix @@ -5,19 +5,20 @@ fetchFromGitHub, nix-update-script, glibcLocales, + versionCheckHook, withPostgresAdapter ? true, withBigQueryAdapter ? true, }: python3Packages.buildPythonApplication rec { pname = "harlequin"; - version = "1.25.2-unstable-2024-12-30"; + version = "2.0.0"; pyproject = true; src = fetchFromGitHub { owner = "tconbeer"; repo = "harlequin"; - rev = "7ef5327157c7617c1032c9128b487b32d1c91fea"; - hash = "sha256-QoIjEfQgN6YWDDor4PxfeFkkFGAidUC0ZvHy+PqgnWs="; + tag = "v${version}"; + hash = "sha256-IUzN+rWL69TUUS9npcmfSAPqy/8SYNusNAN/muCMqNI="; }; pythonRelaxDeps = [ @@ -65,15 +66,11 @@ python3Packages.buildPythonApplication rec { export HOME=$(mktemp -d) ''; - nativeCheckInputs = - [ - # FIX: restore on next release - # versionCheckHook - ] - ++ (with python3Packages; [ - pytest-asyncio - pytestCheckHook - ]); + nativeCheckInputs = with python3Packages; [ + pytest-asyncio + pytestCheckHook + versionCheckHook + ]; disabledTests = [