diff options
Diffstat (limited to 'pkgs/applications/radio/urh/default.nix')
-rw-r--r-- | pkgs/applications/radio/urh/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/radio/urh/default.nix b/pkgs/applications/radio/urh/default.nix new file mode 100644 index 000000000000..8f490c971c71 --- /dev/null +++ b/pkgs/applications/radio/urh/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub, python3Packages +, hackrf, rtl-sdr, airspy, limesuite }: + +python3Packages.buildPythonApplication rec { + name = "urh-${version}"; + version = "2.5.5"; + + src = fetchFromGitHub { + owner = "jopohl"; + repo = "urh"; + rev = "v${version}"; + sha256 = "14aw8bvqb32976qmm124i5sv99nwv1jvs1r9ylbsmlg31dvla7ql"; + }; + + buildInputs = [ hackrf rtl-sdr airspy limesuite ]; + propagatedBuildInputs = with python3Packages; [ + pyqt5 numpy psutil cython pyzmq + ]; + + doCheck = false; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = "Universal Radio Hacker: investigate wireless protocols like a boss"; + license = licenses.asl20; + platforms = platforms.linux; + maintainers = with maintainers; [ fpletz ]; + }; +} |