c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
36 lines
706 B
Nix
36 lines
706 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "gsm0338";
|
|
version = "1.1.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dsch";
|
|
repo = "gsm0338";
|
|
rev = "1c036bd3b656b5075fdc221cbc578c4a47b42b1f";
|
|
hash = "sha256-EkUVd4d4Te8brHerygDc6KQSpiX11NrHYkcZSDRi05w=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "gsm0338" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python codec for GSM 03.38";
|
|
homepage = "https://github.com/dsch/gsm0338";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ flokli janik ];
|
|
};
|
|
}
|