Files
nixpkgs/pkgs/development/python-modules/leb128/default.nix
T
Martin Weinelt 0a1f72b166 python3Packages.leb128: 1.0.8 -> 1.0.9
https://github.com/mohanson/leb128/releases/tag/v1.0.9

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:26 +01:00

36 lines
824 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
lib,
}:
buildPythonPackage rec {
pname = "leb128";
version = "1.0.9";
pyproject = true;
# fetchPypi doesn't include files required for tests
src = fetchFromGitHub {
owner = "mohanson";
repo = "leb128";
tag = "v${version}";
hash = "sha256-X3iBYiANzM97M91dCyjEU/Onhqcid3MMsNzzKtcRcyA=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "leb128" ];
meta = {
changelog = "https://github.com/mohanson/leb128/releases/tag/${src.tag}";
description = "Utility to encode and decode Little Endian Base 128";
homepage = "https://github.com/mohanson/leb128";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ urlordjames ];
};
}