2018-10-24 12:34:55 -07:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages
|
|
|
|
, hackrf, rtl-sdr, airspy, limesuite }:
|
2017-02-13 13:16:12 -08:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
name = "urh-${version}";
|
2019-03-12 01:35:36 -07:00
|
|
|
version = "2.5.6";
|
2017-02-13 13:16:12 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jopohl";
|
|
|
|
repo = "urh";
|
|
|
|
rev = "v${version}";
|
2019-03-12 01:35:36 -07:00
|
|
|
sha256 = "06656lwbsjfs4hmh5xg38a1icgi49f37dkich0fx5yc92dvl8yfd";
|
2017-02-13 13:16:12 -08:00
|
|
|
};
|
|
|
|
|
2018-10-24 12:34:55 -07:00
|
|
|
buildInputs = [ hackrf rtl-sdr airspy limesuite ];
|
2017-03-03 07:40:51 -08:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pyqt5 numpy psutil cython pyzmq
|
|
|
|
];
|
2017-02-13 13:16:12 -08:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Universal Radio Hacker: investigate wireless protocols like a boss";
|
|
|
|
license = licenses.asl20;
|
2017-07-18 15:30:38 -07:00
|
|
|
platforms = platforms.linux;
|
2017-02-13 13:16:12 -08:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
};
|
|
|
|
}
|