Unverified Commit 9b3860ff authored by Amadej Kastelic's avatar Amadej Kastelic
Browse files

urh: modernize

parent 9469bea8
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
python3Packages.buildPythonApplication rec {
  pname = "urh";
  version = "2.9.8-unstable-2025-07-07";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jopohl";
@@ -29,6 +29,8 @@ python3Packages.buildPythonApplication rec {
    hash = "sha256-MjgEa33geZ8Icn7H/Zxvux6rMnSOFcMuwG5n/5cwuMI=";
  };

  build-system = [ python3Packages.setuptools ];

  nativeBuildInputs = [
    qt5.wrapQtAppsHook
    wrapGAppsHook3
@@ -46,7 +48,7 @@ python3Packages.buildPythonApplication rec {
    ++ lib.optional USRPSupport uhd
    ++ lib.optional stdenv.hostPlatform.isLinux qt5.qtwayland;

  propagatedBuildInputs = with python3Packages; [
  dependencies = with python3Packages; [
    pyqt5
    numpy
    psutil
@@ -87,11 +89,11 @@ python3Packages.buildPythonApplication rec {
    install -Dm644 data/icons/appicon.png $out/share/pixmaps/urh.png
  '';

  meta = with lib; {
  meta = {
    homepage = "https://github.com/jopohl/urh";
    description = "Universal Radio Hacker: investigate wireless protocols like a boss";
    license = licenses.gpl3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ fpletz ];
    license = lib.licenses.gpl3;
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [ fpletz ];
  };
}