2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
poetry-core,
|
|
|
|
pytestCheckHook,
|
2023-08-22 20:05:09 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "gsm0338";
|
|
|
|
version = "1.1.0";
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dsch";
|
|
|
|
repo = "gsm0338";
|
|
|
|
rev = "1c036bd3b656b5075fdc221cbc578c4a47b42b1f";
|
|
|
|
hash = "sha256-EkUVd4d4Te8brHerygDc6KQSpiX11NrHYkcZSDRi05w=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2023-08-22 20:05:09 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-08-22 20:05:09 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "gsm0338" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python codec for GSM 03.38";
|
|
|
|
homepage = "https://github.com/dsch/gsm0338";
|
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
flokli
|
|
|
|
janik
|
|
|
|
];
|
2023-08-22 20:05:09 +00:00
|
|
|
};
|
|
|
|
}
|