evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / lpc-checksum / default.nix
blob810878cec585669b0ef154a8b182a51ced69053b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytestCheckHook,
7   intelhex,
8 }:
10 buildPythonPackage rec {
11   pname = "lpc-checksum";
12   version = "3.0.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "basilfx";
17     repo = "lpc_checksum";
18     rev = "v${version}";
19     hash = "sha256-POgV0BdkMLmdjBh/FToPPmJTAxsPASB7ZE32SqGGKHk=";
20   };
22   nativeBuildInputs = [
23     poetry-core
24     pytestCheckHook
25   ];
27   propagatedBuildInputs = [ intelhex ];
29   pythonImportsCheck = [ "lpc_checksum" ];
31   meta = with lib; {
32     description = "Python script to calculate LPC firmware checksums";
33     mainProgram = "lpc_checksum";
34     homepage = "https://pypi.org/project/lpc-checksum/";
35     license = licenses.mit;
36     maintainers = with maintainers; [ otavio ];
37   };