at master 827 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 setuptools, 5 pytestCheckHook, 6 lib, 7}: 8 9buildPythonPackage rec { 10 pname = "leb128"; 11 version = "1.0.8"; 12 pyproject = true; 13 14 # fetchPypi doesn't include files required for tests 15 src = fetchFromGitHub { 16 owner = "mohanson"; 17 repo = "leb128"; 18 tag = "v${version}"; 19 hash = "sha256-7ZjDqxGUANk3FfB3HPTc5CB5YcIi2ee0igXWAYXaZ88="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "leb128" ]; 27 28 meta = with lib; { 29 changelog = "https://github.com/mohanson/leb128/releases/tag/v${version}"; 30 description = "Utility to encode and decode Little Endian Base 128"; 31 homepage = "https://github.com/mohanson/leb128"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ urlordjames ]; 34 }; 35}