diff --git a/pkgs/development/python-modules/labgrid/default.nix b/pkgs/development/python-modules/labgrid/default.nix index b283a72b09ed..955f62b568d8 100644 --- a/pkgs/development/python-modules/labgrid/default.nix +++ b/pkgs/development/python-modules/labgrid/default.nix @@ -8,7 +8,6 @@ lib, mock, openssh, - packaging, pexpect, psutil, pyserial, @@ -21,35 +20,31 @@ requests, setuptools, setuptools-scm, - wheel, xmodem, }: buildPythonPackage rec { pname = "labgrid"; - version = "23.0.6"; + version = "24.0"; + pyproject = true; src = fetchFromGitHub { owner = "labgrid-project"; repo = "labgrid"; rev = "refs/tags/v${version}"; - hash = "sha256-UAfBzQZeFNs2UJSFb5fH5wHXQoVU/dOTFciR0/UB7vc="; + hash = "sha256-XlndAmLkDjb4S2BD85noTMJCeqa5srZocjgg1x6Ry/g="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm - wheel ]; - pyproject = true; - - propagatedBuildInputs = [ + dependencies = [ ansicolors attrs autobahn jinja2 - packaging pexpect pyserial pyudev @@ -59,20 +54,10 @@ buildPythonPackage rec { xmodem ]; - pythonRelaxDeps = [ - "attrs" - "autobahn" - "jinja2" - "packaging" - "pexpect" - "pytest" - "pyudev" - "requests" - "xmodem" - ]; - pythonRemoveDeps = [ "pyserial-labgrid" ]; + pythonImportsCheck = [ "labgrid" ]; + nativeCheckInputs = [ mock openssh @@ -89,7 +74,7 @@ buildPythonPackage rec { meta = with lib; { description = "Embedded control & testing library"; - homepage = "https://labgrid.org"; + homepage = "https://github.com/labgrid-project/labgrid"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ emantor ]; platforms = with platforms; linux;