Merge pull request #268561 from otavio/lpc-checksum-init

python3Packages.lpc-checksum: init at 3.0.0
This commit is contained in:
Thiago Kenji Okada 2023-11-23 08:19:13 +00:00 committed by GitHub
commit ab69fd9bc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, intelhex
}:
buildPythonPackage rec {
pname = "lpc-checksum";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "basilfx";
repo = "lpc_checksum";
rev = "v${version}";
hash = "sha256-POgV0BdkMLmdjBh/FToPPmJTAxsPASB7ZE32SqGGKHk=";
};
nativeBuildInputs = [
poetry-core
pytestCheckHook
];
propagatedBuildInputs = [
intelhex
];
pythonImportsCheck = [ "lpc_checksum" ];
meta = with lib; {
description = "Python script to calculate LPC firmware checksums";
homepage = "https://pypi.org/project/lpc-checksum/";
license = licenses.mit;
maintainers = with maintainers; [ otavio ];
};
}

View file

@ -6479,6 +6479,8 @@ self: super: with self; {
losant-rest = callPackage ../development/python-modules/losant-rest { };
lpc-checksum = callPackage ../development/python-modules/lpc-checksum { };
lrcalc-python = callPackage ../development/python-modules/lrcalc-python { };
lru-dict = callPackage ../development/python-modules/lru-dict { };