mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 06:37:56 +00:00
Merge pull request #258858 from samueltardieu/imgtool
python3Packages.imgtool: init at 1.10.0
This commit is contained in:
commit
8314afe172
45
pkgs/development/python-modules/imgtool/default.nix
Normal file
45
pkgs/development/python-modules/imgtool/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user