From 08aec5fbdca153a2de313fafb0f8a5272c54719a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 8 Feb 2022 19:42:28 +0100 Subject: [PATCH] python39Packages.pijuice: fix version number, disable tests --- pkgs/development/python-modules/pijuice/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pijuice/default.nix b/pkgs/development/python-modules/pijuice/default.nix index f46ddfca1be2..1c0a71bf2854 100644 --- a/pkgs/development/python-modules/pijuice/default.nix +++ b/pkgs/development/python-modules/pijuice/default.nix @@ -28,6 +28,7 @@ buildPythonPackage rec { ]; PIJUICE_BUILD_BASE = 1; + PIJUICE_VERSION = version; preBuild = '' cd Software/Source @@ -50,7 +51,10 @@ buildPythonPackage rec { rm $out/bin/pijuice_sys.py rm $out/bin/pijuiceboot mv $out/bin/pijuice_cli.py $out/bin/pijuice_cli - ''; + ''; + + # no tests + doCheck = false; meta = with lib; { description = "Library and resources for PiJuice HAT for Raspberry Pi";