summary refs log tree commit diff
path: root/pkgs/applications/radio/urh
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2019-02-09 19:40:47 +0100
committerElis Hirwing <elis@hirwing.se>2019-02-09 21:39:43 +0100
commit6d68eea441fe9fbc9b80f84adf9e45ebe859f4a0 (patch)
tree7dd7f35cd0f34784daaeb418affe5e0f18a255c4 /pkgs/applications/radio/urh
parent70662a43c9593241e0ee09c13b98c345d22f3514 (diff)
downloadnixpkgs-6d68eea441fe9fbc9b80f84adf9e45ebe859f4a0.tar
nixpkgs-6d68eea441fe9fbc9b80f84adf9e45ebe859f4a0.tar.gz
nixpkgs-6d68eea441fe9fbc9b80f84adf9e45ebe859f4a0.tar.bz2
nixpkgs-6d68eea441fe9fbc9b80f84adf9e45ebe859f4a0.tar.lz
nixpkgs-6d68eea441fe9fbc9b80f84adf9e45ebe859f4a0.tar.xz
nixpkgs-6d68eea441fe9fbc9b80f84adf9e45ebe859f4a0.tar.zst
nixpkgs-6d68eea441fe9fbc9b80f84adf9e45ebe859f4a0.zip
urh: Move from misc radio
Diffstat (limited to 'pkgs/applications/radio/urh')
-rw-r--r--pkgs/applications/radio/urh/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/radio/urh/default.nix b/pkgs/applications/radio/urh/default.nix
new file mode 100644
index 00000000000..8f490c971c7
--- /dev/null
+++ b/pkgs/applications/radio/urh/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, python3Packages
+, hackrf, rtl-sdr, airspy, limesuite }:
+
+python3Packages.buildPythonApplication rec {
+  name = "urh-${version}";
+  version = "2.5.5";
+
+  src = fetchFromGitHub {
+    owner = "jopohl";
+    repo = "urh";
+    rev = "v${version}";
+    sha256 = "14aw8bvqb32976qmm124i5sv99nwv1jvs1r9ylbsmlg31dvla7ql";
+  };
+
+  buildInputs = [ hackrf rtl-sdr airspy limesuite ];
+  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 ];
+  };
+}