forked from mirrors/nixpkgs
5960919876
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. These checks were done: - built on NixOS - ran ‘/nix/store/cs9vqxk0xqcpqcs10bbqhq6h7vdbmyny-urh-2.0.2/bin/.urh-wrapped --version’ and found version 2.0.2 - ran ‘/nix/store/cs9vqxk0xqcpqcs10bbqhq6h7vdbmyny-urh-2.0.2/bin/urh --version’ and found version 2.0.2 - found 2.0.2 with grep in /nix/store/cs9vqxk0xqcpqcs10bbqhq6h7vdbmyny-urh-2.0.2 - directory tree listing: https://gist.github.com/fd267c85c4f90f14b9af167c50b169a0
29 lines
739 B
Nix
29 lines
739 B
Nix
{ stdenv, fetchFromGitHub, python3Packages, hackrf, rtl-sdr }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
name = "urh-${version}";
|
|
version = "2.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jopohl";
|
|
repo = "urh";
|
|
rev = "v${version}";
|
|
sha256 = "1qqb31y65rd85rf3gvxxxy06hm89ary00km1ac84qz5bwm6n5fyb";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|