forked from mirrors/nixpkgs
458c936fc8
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/urh/versions
30 lines
780 B
Nix
30 lines
780 B
Nix
{ stdenv, fetchFromGitHub, python3Packages
|
|
, hackrf, rtl-sdr, airspy, limesuite }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "urh";
|
|
version = "2.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jopohl";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "14027dcq0ag2qjpxcmsb9n1c64ypmi4rycwxzm2hajj7hk2736hv";
|
|
};
|
|
|
|
buildInputs = [ hackrf rtl-sdr airspy limesuite ];
|
|
propagatedBuildInputs = with python3Packages; [
|
|
pyqt5 numpy psutil cython pyzmq
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/jopohl/urh";
|
|
description = "Universal Radio Hacker: investigate wireless protocols like a boss";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
}
|