diff --git a/pkgs/by-name/ma/marge-bot/package.nix b/pkgs/by-name/ma/marge-bot/package.nix index 5f0978768384..ba7cc4b5a31a 100644 --- a/pkgs/by-name/ma/marge-bot/package.nix +++ b/pkgs/by-name/ma/marge-bot/package.nix @@ -1,13 +1,13 @@ { lib, - python3, fetchFromGitLab, + python3Packages, git, openssh, nix-update-script, }: -python3.pkgs.buildPythonApplication (finalAttrs: { +python3Packages.buildPythonApplication (finalAttrs: { pname = "marge-bot"; version = "1.1.0"; pyproject = true; @@ -19,18 +19,17 @@ python3.pkgs.buildPythonApplication (finalAttrs: { hash = "sha256-nTVfsprCTa2S/F8GDdDw5SwQw+OrGkHrX/QwU1FZDsw="; }; - nativeBuildInputs = [ - python3.pkgs.setuptools + build-system = with python3Packages; [ + hatchling + uv-build ]; - propagatedBuildInputs = - (with python3.pkgs; [ + dependencies = + (with python3Packages; [ configargparse - maya pyyaml requests python-gitlab - hatchling ]) ++ [ git @@ -38,10 +37,11 @@ python3.pkgs.buildPythonApplication (finalAttrs: { ]; nativeCheckInputs = - (with python3.pkgs; [ + (with python3Packages; [ pytest-cov-stub pytestCheckHook - pendulum + python-dateutil + time-machine ]) ++ [ git