blob: cf461c498c1c7cc4436054e412d8cc0772a5ad7b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ stdenv, fetchFromGitHub, python3Packages, hackrf, rtl-sdr }:
python3Packages.buildPythonApplication rec {
name = "urh-${version}";
version = "2.1.1";
src = fetchFromGitHub {
owner = "jopohl";
repo = "urh";
rev = "v${version}";
sha256 = "1n8nkrydic2zkglz9hyrf28np3v42b4xwia068b29szivr9fmnrn";
};
buildInputs = [ hackrf rtl-sdr ];
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 ];
};
}
|