pythonPackages.leb128: init at 1.0.4

This commit is contained in:
urlordjames 2021-07-21 23:18:43 -04:00
parent b06804faf1
commit 31461fd4c5
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ buildPythonPackage, fetchFromGitHub, pytestCheckHook, lib }:
buildPythonPackage rec {
pname = "leb128";
version = "1.0.4";
# fetchPypi doesn't include files required for tests
src = fetchFromGitHub {
owner = "mohanson";
repo = "leb128";
rev = "v${version}";
sha256 = "040l6fxyzqal841kirf783kk1840gcy1gjd374jfr46v96qc8scm";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "leb128" ];
meta = with lib; {
description = "A utility to encode and decode Little Endian Base 128";
homepage = "https://github.com/mohanson/leb128";
license = licenses.mit;
maintainers = with maintainers; [ urlordjames ];
};
}

View file

@ -3973,6 +3973,8 @@ in {
leather = callPackage ../development/python-modules/leather { };
leb128 = callPackage ../development/python-modules/leb128 { };
ledger_agent = callPackage ../development/python-modules/ledger_agent { };
ledgerblue = callPackage ../development/python-modules/ledgerblue { };