3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/urh/default.nix
Ryan Mulligan a04786c37e urh: 1.7.1 -> 1.9.2
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/lmai5nljfdfka498cvh0b265qi22x8r8-urh-1.9.2/bin/.urh-wrapped --version` and found version 1.9.2
- ran `/nix/store/lmai5nljfdfka498cvh0b265qi22x8r8-urh-1.9.2/bin/urh --version` and found version 1.9.2
- found 1.9.2 with grep in /nix/store/lmai5nljfdfka498cvh0b265qi22x8r8-urh-1.9.2

cc "@fpletz"
2018-02-28 20:31:57 +00:00

29 lines
739 B
Nix

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