blob: 52e9c6a29e0af29855d8e0857479b26628926aa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
lib,
}:
buildPythonPackage rec {
pname = "leb128";
version = "1.0.8";
pyproject = true;
# fetchPypi doesn't include files required for tests
src = fetchFromGitHub {
owner = "mohanson";
repo = "leb128";
tag = "v${version}";
hash = "sha256-7ZjDqxGUANk3FfB3HPTc5CB5YcIi2ee0igXWAYXaZ88=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "leb128" ];
meta = {
changelog = "https://github.com/mohanson/leb128/releases/tag/v${version}";
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 ];
};
}
|