python312Packages.imgtool: remove

This is already packaged as a proper Python application in
mcuboot-imgtool. An alias redirects existing users.
This commit is contained in:
Samuel Tardieu 2024-10-08 22:38:23 +02:00
parent 982fe78f1c
commit 8c78777bac
3 changed files with 1 additions and 47 deletions

View File

@ -1,45 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
cbor2,
click,
cryptography,
intelhex,
pyyaml,
}:
buildPythonPackage rec {
pname = "imgtool";
version = "2.1.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-T3+831PETqqmImUEUQzLUvfvAMmXUDz5STSzMMlge2A=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
cbor2
click
cryptography
intelhex
pyyaml
];
pythonImportsCheck = [ "imgtool" ];
meta = with lib; {
description = "MCUboot's image signing and key management";
mainProgram = "imgtool";
homepage = "https://github.com/mcu-tools/mcuboot";
license = licenses.asl20;
maintainers = with maintainers; [ samueltardieu ];
};
}

View File

@ -268,6 +268,7 @@ mapAliases ({
imdbpy = throw "imdbpy has been renamed to cinemagoer"; # added 2022-08-08
image-match = throw "image-match has been removed because it is no longer maintained"; # added 2023-06-10
imgaug = throw "imgaug has been removed as it is no longer maintained"; # added 2023-07-10
imgtool = throw "imgtool has been promoted to a top-level attribute name: `mcuboot-imgtool`"; # added 2024-10-09
intreehook = throw "intreehooks has been removed because it is obsolete as a backend-path key was added to PEP 517"; # added 2023-04-11
ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
ipdbplugin = throw "ipdbplugin has been removed because it has no longer maintained for 6 years"; # added 2024-05-21

View File

@ -6039,8 +6039,6 @@ self: super: with self; {
imgsize = callPackage ../development/python-modules/imgsize { };
imgtool = callPackage ../development/python-modules/imgtool { };
imgw-pib = callPackage ../development/python-modules/imgw-pib { };
imia = callPackage ../development/python-modules/imia { };