Merge pull request #268561 from otavio/lpc-checksum-init
python3Packages.lpc-checksum: init at 3.0.0
This commit is contained in:
commit
ab69fd9bc0
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/lpc-checksum/default.nix
Normal file
38
pkgs/development/python-modules/lpc-checksum/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue