nixpkgs/pkgs/applications/misc/urh/default.nix
2018-08-11 07:57:14 +00:00

29 lines
739 B
Nix

{ stdenv, fetchFromGitHub, python3Packages, hackrf, rtl-sdr }:
python3Packages.buildPythonApplication rec {
name = "urh-${version}";
version = "2.2.3";
src = fetchFromGitHub {
owner = "jopohl";
repo = "urh";
rev = "v${version}";
sha256 = "1iq84590cjpf2rlxb60fy4hxi7vir27bbb10axbwrqwnp5cc4bql";
};
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 ];
};
}