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