pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / leb128 / default.nix
blob4840c3cc678a68ad93cc2dda8fe41f5af5bb3a1d
2   buildPythonPackage,
3   fetchFromGitHub,
4   setuptools,
5   pytestCheckHook,
6   lib,
7 }:
9 buildPythonPackage rec {
10   pname = "leb128";
11   version = "1.0.8";
12   pyproject = true;
14   # fetchPypi doesn't include files required for tests
15   src = fetchFromGitHub {
16     owner = "mohanson";
17     repo = "leb128";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-7ZjDqxGUANk3FfB3HPTc5CB5YcIi2ee0igXWAYXaZ88=";
20   };
22   build-system = [ setuptools ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "leb128" ];
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   };