Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / lpc-checksum / default.nix
blob9a024998036028fec605545789228289d2e4a2c9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pytestCheckHook
6 , intelhex
7 }:
9 buildPythonPackage rec {
10   pname = "lpc-checksum";
11   version = "3.0.0";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "basilfx";
16     repo = "lpc_checksum";
17     rev = "v${version}";
18     hash = "sha256-POgV0BdkMLmdjBh/FToPPmJTAxsPASB7ZE32SqGGKHk=";
19   };
21   nativeBuildInputs = [
22     poetry-core
23     pytestCheckHook
24   ];
26   propagatedBuildInputs = [
27     intelhex
28   ];
30   pythonImportsCheck = [ "lpc_checksum" ];
32   meta = with lib; {
33     description = "Python script to calculate LPC firmware checksums";
34     mainProgram = "lpc_checksum";
35     homepage = "https://pypi.org/project/lpc-checksum/";
36     license = licenses.mit;
37     maintainers = with maintainers; [ otavio ];
38   };