Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / leb128 / default.nix
blobb206de136219cd29a74521f9e79c4fc2da3d7426
1 { buildPythonPackage, fetchFromGitHub, pytestCheckHook, lib }:
3 buildPythonPackage rec {
4   pname = "leb128";
5   version = "1.0.5";
7   # fetchPypi doesn't include files required for tests
8   src = fetchFromGitHub {
9     owner = "mohanson";
10     repo = "leb128";
11     rev = "refs/tags/v${version}";
12     hash = "sha256-zK14LPziBkvXAMzuPbcg/47caO/5GEYA9txAzCGfpS8=";
13   };
15   nativeCheckInputs = [ pytestCheckHook ];
16   pythonImportsCheck = [ "leb128" ];
18   meta = with lib; {
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 ];
23   };