From b35e7ea1b67f0931a0debe056996f3fecf5a9827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 5 Mar 2026 01:45:02 +0100 Subject: [PATCH] python3Packages.pysyncthru: switch to pytest, minor cleanup --- pkgs/development/python-modules/pysyncthru/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pysyncthru/default.nix b/pkgs/development/python-modules/pysyncthru/default.nix index 40d1bca3432f..7acb95428ba0 100644 --- a/pkgs/development/python-modules/pysyncthru/default.nix +++ b/pkgs/development/python-modules/pysyncthru/default.nix @@ -5,7 +5,7 @@ setuptools, aiohttp, demjson3, - unittestCheckHook, + pytestCheckHook, }: buildPythonPackage rec { @@ -21,14 +21,14 @@ buildPythonPackage rec { hash = "sha256-IJfj65p80Q4LwWkGV0A0QPtK2+FPkNVz9/WaNGzgTy8="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp demjson3 ]; - nativeCheckInputs = [ unittestCheckHook ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pysyncthru" ];