Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pbr, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "bencode-py"; version = "4.1.0"; pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub { owner = "fuzeman"; repo = "bencode.py"; tag = finalAttrs.version; hash = "sha256-vUG8QwcI34uFo7aldDhQORoZuuI/CYGoSOdSfGmj2uQ="; };
build-system = [ setuptools pbr ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bencodepy" ];
disabledTests = [ # Failed: DID NOT RAISE BencodeDecodeError "test_decode_recursion_error" "test_read_recursion_error" ];
meta = { description = "Simple bencode parser (for Python 2, Python 3 and PyPy)"; homepage = "https://github.com/fuzeman/bencode.py"; changelog = "https://github.com/fuzeman/bencode.py/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bitTorrent11; maintainers = with lib.maintainers; [ vamega ]; };})