Files
nixpkgs/pkgs/development/python-modules/gsm0338/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
693 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 = {
description = "Python codec for GSM 03.38";
homepage = "https://github.com/dsch/gsm0338";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ flokli ];
};
}