forked from mirrors/nixpkgs
c347c2a90f
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. This update was made based on information from https://repology.org/metapackage/urh/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.0.1 with grep in /nix/store/29377wngwlydpc5x0cdc7fks4pr6fs6k-urh-2.0.1 - directory tree listing: https://gist.github.com/1781a86976c5e26a0668a5047280ba81
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.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jopohl";
|
|
repo = "urh";
|
|
rev = "v${version}";
|
|
sha256 = "0mnnrxm49s77s1qg7zbfciw0525ipsl010sciqdw8a22jg1rfjh8";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|