1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, pytestCheckHook 6}: 7 8buildPythonPackage { 9 pname = "gsm0338"; 10 version = "1.1.0"; 11 format = "pyproject"; 12 13 src = fetchFromGitHub { 14 owner = "dsch"; 15 repo = "gsm0338"; 16 rev = "1c036bd3b656b5075fdc221cbc578c4a47b42b1f"; 17 hash = "sha256-EkUVd4d4Te8brHerygDc6KQSpiX11NrHYkcZSDRi05w="; 18 }; 19 20 nativeBuildInputs = [ 21 poetry-core 22 ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 ]; 27 28 pythonImportsCheck = [ "gsm0338" ]; 29 30 meta = with lib; { 31 description = "Python codec for GSM 03.38"; 32 homepage = "https://github.com/dsch/gsm0338"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ flokli janik ]; 35 }; 36}