15 buildPythonPackage rec {
18 format = "setuptools";
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
23 owner = "atlas0fd00m";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-hdRsVbDXRC1EOhBoFJ9T5ZE6hwOgDWSdN5sIpxJ0x3E=";
29 propagatedBuildInputs = [
37 postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
38 mkdir -p $out/etc/udev/rules.d
39 cp etc/udev/rules.d/20-rfcat.rules $out/etc/udev/rules.d
42 nativeCheckInputs = [ pytestCheckHook ];
44 pythonImportsCheck = [ "rflib" ];
47 description = "Swiss Army knife of sub-GHz ISM band radio";
48 homepage = "https://github.com/atlas0fd00m/rfcat";
49 license = licenses.bsd3;
50 maintainers = with maintainers; [ trepetti ];
51 changelog = "https://github.com/atlas0fd00m/rfcat/releases/tag/v${version}";