mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 02:46:28 +00:00
271980cec3
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 - /nix/store/v7164xfx4b3rgbfx064wd3m6dk0fyp8n-urh-2.2.2/bin/.urh-wrapped passed the binary check. - /nix/store/v7164xfx4b3rgbfx064wd3m6dk0fyp8n-urh-2.2.2/bin/urh passed the binary check. - /nix/store/v7164xfx4b3rgbfx064wd3m6dk0fyp8n-urh-2.2.2/bin/.urh_cli-wrapped passed the binary check. - /nix/store/v7164xfx4b3rgbfx064wd3m6dk0fyp8n-urh-2.2.2/bin/urh_cli passed the binary check. - 4 of 4 passed binary check by having a zero exit code. - 2 of 4 passed binary check by having the new version present in output. - found 2.2.2 with grep in /nix/store/v7164xfx4b3rgbfx064wd3m6dk0fyp8n-urh-2.2.2 - directory tree listing: https://gist.github.com/81386656453f8d5f0c949b53d0839bb3 - du listing: https://gist.github.com/04e2f4b58a606d8685287a855fe578b5
29 lines
739 B
Nix
29 lines
739 B
Nix
{ stdenv, fetchFromGitHub, python3Packages, hackrf, rtl-sdr }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
name = "urh-${version}";
|
|
version = "2.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jopohl";
|
|
repo = "urh";
|
|
rev = "v${version}";
|
|
sha256 = "0ncvfl5iyngw3lr2g7awpskrrld6y0x7w0xyp827lcr7x73fvqgp";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|