btlejack: cleanup, move to by-name (#420313)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-27 08:11:53 +02:00
committed by GitHub
2 changed files with 7 additions and 11 deletions
@@ -1,12 +1,10 @@
{
lib,
buildPythonApplication,
python3Packages,
fetchFromGitHub,
pyserial,
halo,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "btlejack";
version = "2.1.1";
@@ -22,15 +20,15 @@ buildPythonApplication rec {
'';
propagatedBuildInputs = [
pyserial
halo
python3Packages.pyserial
python3Packages.halo
];
meta = with lib; {
meta = {
homepage = "https://github.com/virtualabs/btlejack";
description = "Bluetooth Low Energy Swiss-army knife";
mainProgram = "btlejack";
license = licenses.mit;
maintainers = with maintainers; [ oxzi ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ oxzi ];
};
}
-2
View File
@@ -1961,8 +1961,6 @@ with pkgs;
brasero = callPackage ../tools/cd-dvd/brasero/wrapper.nix { };
btlejack = python3Packages.callPackage ../applications/radio/btlejack { };
bsh = fetchurl {
url = "http://www.beanshell.org/bsh-2.0b5.jar";
hash = "sha256-YjIZlWOAc1SzvLWs6z3BNlAvAixrDvdDmHqD9m/uWlw=";