14 buildPythonPackage rec {
17 format = "setuptools";
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
22 owner = "atlas0fd00m";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-hdRsVbDXRC1EOhBoFJ9T5ZE6hwOgDWSdN5sIpxJ0x3E=";
28 propagatedBuildInputs = [
36 postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
37 mkdir -p $out/etc/udev/rules.d
38 cp etc/udev/rules.d/20-rfcat.rules $out/etc/udev/rules.d
45 pythonImportsCheck = [
50 description = "Swiss Army knife of sub-GHz ISM band radio";
51 homepage = "https://github.com/atlas0fd00m/rfcat";
52 license = licenses.bsd3;
53 maintainers = with maintainers; [ trepetti ];
54 changelog = "https://github.com/atlas0fd00m/rfcat/releases/tag/v${version}";