Merge pull request #258858 from samueltardieu/imgtool

python3Packages.imgtool: init at 1.10.0
This commit is contained in:
Nick Cao 2023-11-18 17:37:11 -05:00 committed by GitHub
commit 8314afe172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View File

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

View File

@ -5330,6 +5330,8 @@ self: super: with self; {
imgsize = callPackage ../development/python-modules/imgsize { };
imgtool = callPackage ../development/python-modules/imgtool { };
iminuit = callPackage ../development/python-modules/iminuit { };
immutabledict = callPackage ../development/python-modules/immutabledict { };