From ff06baf396f5a2c090361561c84736ad9df0fc5b Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 25 Mar 2021 15:53:37 +0100 Subject: [PATCH] grabserial: use python3 --- pkgs/development/tools/grabserial/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/grabserial/default.nix b/pkgs/development/tools/grabserial/default.nix index ce336241b65..2ce3ff49c41 100644 --- a/pkgs/development/tools/grabserial/default.nix +++ b/pkgs/development/tools/grabserial/default.nix @@ -1,6 +1,6 @@ -{ lib, fetchFromGitHub, pythonPackages }: +{ lib, fetchFromGitHub, python3Packages }: -pythonPackages.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "grabserial"; version = "2.0.2"; @@ -11,7 +11,10 @@ pythonPackages.buildPythonApplication rec { sha256 = "0ryk4w8q6zfmia71nwnk5b7xaxw0sf45dw9q50xp7k76i3k5f9f3"; }; - propagatedBuildInputs = [ pythonPackages.pyserial ]; + propagatedBuildInputs = [ python3Packages.pyserial ]; + + # no usable tests + doCheck = false; meta = with lib; { description = "Python based serial dump and timing program";