1 { buildPythonPackage, fetchFromGitHub, pytestCheckHook, lib }:
3 buildPythonPackage rec {
7 # fetchPypi doesn't include files required for tests
8 src = fetchFromGitHub {
11 rev = "refs/tags/v${version}";
12 hash = "sha256-zK14LPziBkvXAMzuPbcg/47caO/5GEYA9txAzCGfpS8=";
15 nativeCheckInputs = [ pytestCheckHook ];
16 pythonImportsCheck = [ "leb128" ];
19 description = "A utility to encode and decode Little Endian Base 128";
20 homepage = "https://github.com/mohanson/leb128";
21 license = licenses.mit;
22 maintainers = with maintainers; [ urlordjames ];