blob: 2ebdba9fe095a544f5ed19ef41ce9bc311f1cc00 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 ];
};
}
|