python3Packages.intelhex: 2.2.1 -> 2.3.0

This commit is contained in:
Fabian Affolter 2021-02-10 19:10:25 +01:00
parent ae088f4fda
commit 37b8fe30f2

View File

@ -1,25 +1,23 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "intelhex"; pname = "intelhex";
version = "2.2.1"; version = "2.3.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0ckqjbxd8gwcg98gfzpn4vq1qxzfvq3rdbrr1hikj1nmw08qb780"; sha256 = "sha256-iStzYacZ9JRSN9qMz3VOlRPbMvViiFJ4WuoQjc0lAJM=";
}; };
patches = [ checkInputs = [ pytestCheckHook ];
# patch the tests to check for the correct version string (2.2.1)
(fetchpatch { pytestFlagsArray = [ "intelhex/test.py" ];
url = "https://patch-diff.githubusercontent.com/raw/bialix/intelhex/pull/26.patch";
sha256 = "1f3f2cyf9ipb9zdifmjs8rqhg028dhy91vabxxn3l7br657s8r2l"; pythonImportsCheck = [ "intelhex" ];
})
];
meta = { meta = {
homepage = "https://github.com/bialix/intelhex"; homepage = "https://github.com/bialix/intelhex";