Unverified Commit 6c75b096 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #313200 from otavio/auto-update/mcuboot-imgtool

mcuboot-imgtool: 2.0.0 -> 2.1.0
parents 7341bcc3 b36536b8
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
{ lib
, fetchPypi
, python3Packages
, nix-update-script
{
  lib,
  fetchPypi,
  python3Packages,
  nix-update-script,
}:

python3Packages.buildPythonApplication rec {
  pname = "mcuboot-imgtool";
  version = "2.0.0";
  version = "2.1.0";
  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "imgtool";
    hash = "sha256-elQSVeae7B8Sqjjc4fHU/iDYISZ3xoqbbsY0ypGgZhI=";
    hash = "sha256-T3+831PETqqmImUEUQzLUvfvAMmXUDz5STSzMMlge2A=";
  };

  passthru.updateScript = nix-update-script { };

  nativeBuildInputs = with python3Packages; [
    setuptools
  ];
  nativeBuildInputs = with python3Packages; [ setuptools ];

  propagatedBuildInputs = with python3Packages; [
    cbor2
    click
    cryptography
    intelhex
    pyyaml
  ];

  meta = with lib; {