python310Packages.rfcat: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-08-20 08:58:16 +02:00 committed by GitHub
parent 155bcc037c
commit a58d0d62da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,12 +13,15 @@
buildPythonPackage rec {
pname = "rfcat";
version = "1.9.6";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "atlas0fd00m";
repo = "rfcat";
rev = "refs/tags/v${version}";
sha256 = "sha256-7iYz7YY9zpnJmLfCmp/sF21eZ21HMGq2sLQIENxbr34=";
hash = "sha256-7iYz7YY9zpnJmLfCmp/sF21eZ21HMGq2sLQIENxbr34=";
};
propagatedBuildInputs = [
@ -38,7 +41,9 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "rflib" ];
pythonImportsCheck = [
"rflib"
];
meta = with lib; {
description = "Swiss Army knife of sub-GHz ISM band radio";