forked from mirrors/nixpkgs
3c0498518f
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/mn4bz8dm9vgkskyw0r4xnhfgwvz1vx1i-urh-2.1.0/bin/.urh-wrapped passed the binary check. - /nix/store/mn4bz8dm9vgkskyw0r4xnhfgwvz1vx1i-urh-2.1.0/bin/urh passed the binary check. - /nix/store/mn4bz8dm9vgkskyw0r4xnhfgwvz1vx1i-urh-2.1.0/bin/.urh_cli-wrapped passed the binary check. - /nix/store/mn4bz8dm9vgkskyw0r4xnhfgwvz1vx1i-urh-2.1.0/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.1.0 with grep in /nix/store/mn4bz8dm9vgkskyw0r4xnhfgwvz1vx1i-urh-2.1.0 - directory tree listing: https://gist.github.com/a3d9fe3fa0702e0f4b952663ee34adbb - du listing: https://gist.github.com/d28e0203aeb3c009339b4497256f911a
29 lines
739 B
Nix
29 lines
739 B
Nix
{ stdenv, fetchFromGitHub, python3Packages, hackrf, rtl-sdr }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
name = "urh-${version}";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jopohl";
|
|
repo = "urh";
|
|
rev = "v${version}";
|
|
sha256 = "0i01pj71p3lc1kcqj6mixax6865vbxd9k9jczi2xh4p9nmfa5m2a";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|