Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 38 lines 747 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, pytestCheckHook 6, intelhex 7}: 8 9buildPythonPackage rec { 10 pname = "lpc-checksum"; 11 version = "3.0.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "basilfx"; 16 repo = "lpc_checksum"; 17 rev = "v${version}"; 18 hash = "sha256-POgV0BdkMLmdjBh/FToPPmJTAxsPASB7ZE32SqGGKHk="; 19 }; 20 21 nativeBuildInputs = [ 22 poetry-core 23 pytestCheckHook 24 ]; 25 26 propagatedBuildInputs = [ 27 intelhex 28 ]; 29 30 pythonImportsCheck = [ "lpc_checksum" ]; 31 32 meta = with lib; { 33 description = "Python script to calculate LPC firmware checksums"; 34 homepage = "https://pypi.org/project/lpc-checksum/"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ otavio ]; 37 }; 38}